summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/read.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-05 11:20:39 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-05 11:20:39 +0000
commit7c0bad50921365746ea362710015853a4879c0a7 (patch)
treeead13c32a5b2d8ed2968bcdc5b58e5e7eed79720 /src/runtime/c/gu/read.c
parent504341dfbafdcd858704350162bb7e233cf6daf2 (diff)
remove the read and write modules from libgu. this simplifies the i/o layer
Diffstat (limited to 'src/runtime/c/gu/read.c')
-rw-r--r--src/runtime/c/gu/read.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/runtime/c/gu/read.c b/src/runtime/c/gu/read.c
deleted file mode 100644
index 245c59f2c..000000000
--- a/src/runtime/c/gu/read.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <gu/read.h>
-
-extern inline GuUCS
-gu_read_ucs(GuReader* rdr, GuExn* err);
-
-extern inline char
-gu_getc(GuReader* rdr, GuExn* err);
-
-GuReader*
-gu_new_utf8_reader(GuIn* utf8_in, GuPool* pool)
-{
- GuReader* rdr = gu_new(GuReader, pool);
- rdr->in_ = gu_init_in(gu_in_proxy_stream(utf8_in, pool));
- return rdr;
-}