From d3fddd7d28f314a6738f2a0ba4d9f58024b01984 Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 12 Jul 2018 11:51:00 +0300 Subject: 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. --- include/unicode.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 include/unicode.h (limited to 'include/unicode.h') 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); -- cgit v1.2.3