diff options
author | Steven G. Johnson <stevenj@mit.edu> | 2015-05-29 21:58:21 -0400 |
---|---|---|
committer | Steven G. Johnson <stevenj@mit.edu> | 2015-05-29 21:58:21 -0400 |
commit | 35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674 (patch) | |
tree | 4652dafe789ee6a8ac76154dad6a7d14c2778df1 /utf8proc.h | |
parent | 7c14ef5f8371e463a01e0f1de971caa600384390 (diff) | |
parent | 6a229a6776b154b1906b6a1f282b72b38322e36b (diff) | |
download | libutf8proc-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |