From 7c0bad50921365746ea362710015853a4879c0a7 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 5 Sep 2013 11:20:39 +0000 Subject: remove the read and write modules from libgu. this simplifies the i/o layer --- src/runtime/c/gu/string.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/runtime/c/gu/string.h') diff --git a/src/runtime/c/gu/string.h b/src/runtime/c/gu/string.h index c66359736..310c725b5 100644 --- a/src/runtime/c/gu/string.h +++ b/src/runtime/c/gu/string.h @@ -21,8 +21,8 @@ #define GU_STRING_H_ #include -#include -#include +#include +#include typedef GuOpaque() GuString; @@ -32,10 +32,10 @@ GuString gu_string_copy(GuString string, GuPool* pool); void -gu_string_write(GuString string, GuWriter* wtr, GuExn* err); +gu_string_write(GuString string, GuOut* out, GuExn* err); -GuReader* -gu_string_reader(GuString string, GuPool* pool); +GuIn* +gu_string_in(GuString string, GuPool* pool); bool gu_string_is_stable(GuString string); @@ -48,8 +48,8 @@ typedef struct GuStringBuf GuStringBuf; GuStringBuf* gu_string_buf(GuPool* pool); -GuWriter* -gu_string_buf_writer(GuStringBuf* sb); +GuOut* +gu_string_buf_out(GuStringBuf* sb); GuString gu_string_buf_freeze(GuStringBuf* sb, GuPool* pool); -- cgit v1.2.3