summaryrefslogtreecommitdiffstats
path: root/jv_unicode.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-09-18 17:44:43 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2012-09-18 17:44:43 +0100
commita4eea165bbab6d13f89b59707e835d58b7014a66 (patch)
treeb99ee5dde8540f8dbe5de3d87b99e04ac4dd2673 /jv_unicode.h
parent25cbab056b1f73e96b636c88779a92400d92dc15 (diff)
Move everything around - delete old Haskell code, clean up build.
Diffstat (limited to 'jv_unicode.h')
-rw-r--r--jv_unicode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/jv_unicode.h b/jv_unicode.h
new file mode 100644
index 00000000..78c7a40d
--- /dev/null
+++ b/jv_unicode.h
@@ -0,0 +1,11 @@
+#ifndef JV_UNICODE_H
+#define JV_UNICODE_H
+
+const char* jvp_utf8_next(const char* in, const char* end, int* codepoint);
+
+
+int jvp_utf8_decode_length(char startchar);
+
+int jvp_utf8_encode_length(int codepoint);
+int jvp_utf8_encode(int codepoint, char* out);
+#endif