From 6249e6b8b1d5e360b5b5adad651911f3b4359604 Mon Sep 17 00:00:00 2001 From: Scott Paul Jones Date: Sat, 9 May 2015 11:45:03 -0400 Subject: Fix #34 handle 66 Unicode non-characters, also improve performance and surrogate handling --- utf8proc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utf8proc.h') 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 -- cgit v1.2.3