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/utf8.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/runtime/c/gu/utf8.c') 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 #include -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]; -- cgit v1.2.3