diff options
Diffstat (limited to 'include/libutf8proc/utf8proc.h')
-rw-r--r-- | include/libutf8proc/utf8proc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libutf8proc/utf8proc.h b/include/libutf8proc/utf8proc.h index 24a891b..c074779 100644 --- a/include/libutf8proc/utf8proc.h +++ b/include/libutf8proc/utf8proc.h @@ -81,6 +81,8 @@ extern "C" { #define SSIZE_MAX ((size_t)SIZE_MAX/2) #endif +#define UTF8PROC_CCC_VIRAMA 9 + #define UTF8PROC_NULLTERM (1<<0) #define UTF8PROC_STABLE (1<<1) #define UTF8PROC_COMPAT (1<<2) @@ -326,6 +328,12 @@ ssize_t utf8proc_decompose( * buffer size is returned. */ +ssize_t utf8proc_normalise(int32_t *buffer, ssize_t length, int options); +/* + * Reencodes the sequence of unicode characters given by the pointer + * 'buffer' and 'length'. See utf8proc_reencode for further details. + */ + ssize_t utf8proc_reencode(int32_t *buffer, ssize_t length, int options); /* * Reencodes the sequence of unicode characters given by the pointer |