From 2e8f05516416095dc5bee68552bfdeb4f88c10e5 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Fri, 13 Sep 2013 08:28:20 +0000 Subject: optimize the reading of strings in the grammar loader. --- src/runtime/c/gu/utf8.h | 5 +++++ 1 file changed, 5 insertions(+) (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 7cf42d56a..7674c6e02 100644 --- a/src/runtime/c/gu/utf8.h +++ b/src/runtime/c/gu/utf8.h @@ -29,7 +29,12 @@ gu_out_utf8(GuUCS ucs, GuOut* out, GuExn* err) } } +// Helper functions used in other modules + GuUCS gu_utf8_decode(const uint8_t** utf8); +void +gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err); + #endif // GU_UTF8_H_ -- cgit v1.2.3