summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/utf8.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-13 08:28:20 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-13 08:28:20 +0000
commit2e8f05516416095dc5bee68552bfdeb4f88c10e5 (patch)
tree8ca3c368579da84c906749d84ab63703ca769d5f /src/runtime/c/gu/utf8.h
parent4d8ed02f6d091eb5e45c87a9b355d22298e4551b (diff)
optimize the reading of strings in the grammar loader.
Diffstat (limited to 'src/runtime/c/gu/utf8.h')
-rw-r--r--src/runtime/c/gu/utf8.h5
1 files changed, 5 insertions, 0 deletions
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_