diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-11-14 13:39:47 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-11-14 13:39:47 +0000 |
commit | 6b0e4847ddb1d62dffd5d4de4a1240b3fa3afd8a (patch) | |
tree | ebddb89ed063e1e8927ed9b837762f574d34fbf4 /include/libutf8proc/utf8proc.h | |
parent | c203e4dcb680ec3bdccf5fdf7a496549442c56de (diff) | |
download | libutf8proc-6b0e4847ddb1d62dffd5d4de4a1240b3fa3afd8a.tar.gz libutf8proc-6b0e4847ddb1d62dffd5d4de4a1240b3fa3afd8a.tar.bz2 |
Update with API extension from the NetSurf version
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 |