From 01c4836d4d2560347786175e8a4af5baa1bd23e2 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 6 May 2015 15:51:12 +0000 Subject: fix the UTF8 implementation in libgu --- src/runtime/c/gu/utf8.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/runtime/c/gu/utf8.h') diff --git a/src/runtime/c/gu/utf8.h b/src/runtime/c/gu/utf8.h index db7dccaf9..3ad28946d 100644 --- a/src/runtime/c/gu/utf8.h +++ b/src/runtime/c/gu/utf8.h @@ -32,7 +32,10 @@ gu_out_utf8(GuUCS ucs, GuOut* out, GuExn* err) // Helper functions used in other modules GuUCS -gu_utf8_decode(const uint8_t** utf8); +gu_utf8_decode(const uint8_t** buf); + +void +gu_utf8_encode(GuUCS ucs, uint8_t** buf); void gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err); -- cgit v1.2.3