summaryrefslogtreecommitdiff
path: root/utf8proc.h
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2015-05-29 21:58:21 -0400
committerSteven G. Johnson <stevenj@mit.edu>2015-05-29 21:58:21 -0400
commit35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674 (patch)
tree4652dafe789ee6a8ac76154dad6a7d14c2778df1 /utf8proc.h
parent7c14ef5f8371e463a01e0f1de971caa600384390 (diff)
parent6a229a6776b154b1906b6a1f282b72b38322e36b (diff)
downloadlibutf8proc-35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674.tar.gz
libutf8proc-35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674.tar.bz2
Merge pull request #35 from ScottPJones/spj/valid
Fix #34 handle 66 Unicode non-characters and surrogates correctly
Diffstat (limited to 'utf8proc.h')
-rw-r--r--utf8proc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utf8proc.h b/utf8proc.h
index 69c3213..7108215 100644
--- a/utf8proc.h
+++ b/utf8proc.h
@@ -82,10 +82,13 @@ typedef unsigned char utf8proc_uint8_t;
typedef short utf8proc_int16_t;
typedef unsigned short utf8proc_uint16_t;
typedef int utf8proc_int32_t;
+typedef unsigned int utf8proc_uint32_t;
# ifdef _WIN64
typedef __int64 utf8proc_ssize_t;
+typedef unsigned __int64 utf8proc_size_t;
# else
typedef int utf8proc_ssize_t;
+typedef unsigned int utf8proc_size_t;
# endif
# ifndef __cplusplus
typedef unsigned char utf8proc_bool;
@@ -101,6 +104,8 @@ typedef uint8_t utf8proc_uint8_t;
typedef int16_t utf8proc_int16_t;
typedef uint16_t utf8proc_uint16_t;
typedef int32_t utf8proc_int32_t;
+typedef uint32_t utf8proc_uint32_t;
+typedef size_t utf8proc_size_t;
typedef ssize_t utf8proc_ssize_t;
typedef bool utf8proc_bool;
#endif