From 5c93f2fba5eadaa1e516106c08d495c14a0eb647 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 19 Apr 2017 12:30:40 +0000 Subject: in libgu mark explicitly all functions that belong to the API --- src/runtime/c/gu/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/gu/file.c') diff --git a/src/runtime/c/gu/file.c b/src/runtime/c/gu/file.c index f51eb1ca1..c5a9f6912 100644 --- a/src/runtime/c/gu/file.c +++ b/src/runtime/c/gu/file.c @@ -31,7 +31,7 @@ gu_file_flush(GuOutStream* stream, GuExn* err) } } -GuOut* +GU_API GuOut* gu_file_out(FILE* file, GuPool* pool) { GuFileOutStream* fos = gu_new(GuFileOutStream, pool); @@ -65,7 +65,7 @@ gu_file_input(GuInStream* stream, uint8_t* buf, size_t sz, GuExn* err) return got; } -GuIn* +GU_API GuIn* gu_file_in(FILE* file, GuPool* pool) { GuFileInStream* fis = gu_new(GuFileInStream, pool); -- cgit v1.2.3