diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-09-13 07:44:45 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-09-13 07:44:45 +0000 |
| commit | c469ae9091fb830f0aae1b9abf8ee174a0ac0012 (patch) | |
| tree | f82cfe25f7b0be306884632e99164f6cc0f92e71 /src/runtime/c/gu/utf8.h | |
| parent | c684ab30a74ca62caa670b7604c3e66e6258794e (diff) | |
clean up the UTF8 API in libgu
Diffstat (limited to 'src/runtime/c/gu/utf8.h')
| -rw-r--r-- | src/runtime/c/gu/utf8.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/runtime/c/gu/utf8.h b/src/runtime/c/gu/utf8.h index 410010c3f..7cf42d56a 100644 --- a/src/runtime/c/gu/utf8.h +++ b/src/runtime/c/gu/utf8.h @@ -17,13 +17,6 @@ gu_in_utf8(GuIn* in, GuExn* err) return gu_in_utf8_(in, err); } - -char -gu_in_utf8_char(GuIn* in, GuExn* err); - -void -gu_out_utf8_long_(GuUCS ucs, GuOut* out, GuExn* err); - inline void gu_out_utf8(GuUCS ucs, GuOut* out, GuExn* err) { @@ -31,17 +24,12 @@ gu_out_utf8(GuUCS ucs, GuOut* out, GuExn* err) if (GU_LIKELY(ucs < 0x80)) { gu_out_u8(out, ucs, err); } else { - gu_out_utf8_long_(ucs, out, err); + extern void gu_out_utf8_(GuUCS ucs, GuOut* out, GuExn* err); + gu_out_utf8_(ucs, out, err); } } -size_t -gu_utf32_out_utf8(const GuUCS* src, size_t len, GuOut* out, GuExn* err); - GuUCS gu_utf8_decode(const uint8_t** utf8); -void -gu_str_out_utf8(const char* str, GuOut* out, GuExn* err); - #endif // GU_UTF8_H_ |
