diff options
author | Scott Paul Jones <scottjones@alum.mit.edu> | 2015-05-09 11:45:03 -0400 |
---|---|---|
committer | ScottPJones <scottjones@alum.mit.edu> | 2015-05-29 19:50:03 +0200 |
commit | 6249e6b8b1d5e360b5b5adad651911f3b4359604 (patch) | |
tree | c70afc21d3ef8d820d5b9de4d17c0d6e9fde1045 /utf8proc.h | |
parent | 7c14ef5f8371e463a01e0f1de971caa600384390 (diff) | |
download | libutf8proc-6249e6b8b1d5e360b5b5adad651911f3b4359604.tar.gz libutf8proc-6249e6b8b1d5e360b5b5adad651911f3b4359604.tar.bz2 |
Fix #34 handle 66 Unicode non-characters, also improve performance and surrogate handling
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 |