diff options
| author | krasimir <krasimir@chalmers.se> | 2017-04-19 12:30:40 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2017-04-19 12:30:40 +0000 |
| commit | 5c93f2fba5eadaa1e516106c08d495c14a0eb647 (patch) | |
| tree | e0d2a925cc0f3c0d8ec4bac0668fb42b2a64babe /src/runtime/c/gu/file.c | |
| parent | 74ce52d761de9bc49fbb1aaf2d273d3edc34a3d6 (diff) | |
in libgu mark explicitly all functions that belong to the API
Diffstat (limited to 'src/runtime/c/gu/file.c')
| -rw-r--r-- | src/runtime/c/gu/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
