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/utf8.c | |
| parent | 74ce52d761de9bc49fbb1aaf2d273d3edc34a3d6 (diff) | |
in libgu mark explicitly all functions that belong to the API
Diffstat (limited to 'src/runtime/c/gu/utf8.c')
| -rw-r--r-- | src/runtime/c/gu/utf8.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/c/gu/utf8.c b/src/runtime/c/gu/utf8.c index cd198a83d..29869fd7f 100644 --- a/src/runtime/c/gu/utf8.c +++ b/src/runtime/c/gu/utf8.c @@ -1,7 +1,7 @@ #include <gu/assert.h> #include <gu/utf8.h> -GuUCS +GU_API GuUCS gu_utf8_decode(const uint8_t** src_inout) { const uint8_t* src = *src_inout; @@ -26,7 +26,7 @@ gu_utf8_decode(const uint8_t** src_inout) return (GuUCS) u; } -GuUCS +GU_API GuUCS gu_in_utf8_(GuIn* in, GuExn* err) { uint8_t c = gu_in_u8(in, err); @@ -79,7 +79,7 @@ fail: extern inline GuUCS gu_in_utf8(GuIn* in, GuExn* err); -void +GU_API void gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err) { uint8_t* p = *buf; @@ -122,7 +122,7 @@ fail: return; } -void +GU_API void gu_utf8_encode(GuUCS ucs, uint8_t** buf) { gu_require(gu_ucs_valid(ucs)); @@ -163,7 +163,7 @@ gu_utf8_encode(GuUCS ucs, uint8_t** buf) } } -void +GU_API void gu_out_utf8_(GuUCS ucs, GuOut* out, GuExn* err) { uint8_t buf[6]; |
