summaryrefslogtreecommitdiff
path: root/utf8proc.h
diff options
context:
space:
mode:
authorScott Paul Jones <scottjones@alum.mit.edu>2015-05-09 11:45:03 -0400
committerScottPJones <scottjones@alum.mit.edu>2015-05-29 19:50:03 +0200
commit6249e6b8b1d5e360b5b5adad651911f3b4359604 (patch)
treec70afc21d3ef8d820d5b9de4d17c0d6e9fde1045 /utf8proc.h
parent7c14ef5f8371e463a01e0f1de971caa600384390 (diff)
downloadlibutf8proc-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.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