summaryrefslogtreecommitdiff
path: root/include/unicode.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2018-07-12 11:51:00 +0300
committerOxore <oxore@protonmail.com>2018-07-12 11:51:00 +0300
commitd3fddd7d28f314a6738f2a0ba4d9f58024b01984 (patch)
tree7345455bdc6f051289ffa9854fcad2001a55a223 /include/unicode.h
parent9a9711945c2add826e5887aabe2330bee9042b4b (diff)
Introduce testing with munit, refactor
Split unicode routines from text. Testing: add munit submodule, move translation units with main functions to separate folder, make corresponding changes in Makefile. Make simple test for unicode handling routine. Remove _vimrc_local. test.c: optimize includes. Add test run to .travis.yml.
Diffstat (limited to 'include/unicode.h')
-rw-r--r--include/unicode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unicode.h b/include/unicode.h
new file mode 100644
index 0000000..f950f12
--- /dev/null
+++ b/include/unicode.h
@@ -0,0 +1,2 @@
+unsigned long utf8_strlen(void *string);
+void utf8to32_strcpy(wchar_t *dest, char *src);