diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-01-04 21:40:30 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-01-04 21:40:30 +0000 |
commit | bd8060ff57e1dff8cd017bfa63d71d9e038e63bb (patch) | |
tree | 828cf4d1be6582f9b9c4cbb14712ed3b3e22bc67 /include | |
parent | a783495a127b7d4cc1a4abae25aba658b38110b4 (diff) | |
download | libutf8proc-bd8060ff57e1dff8cd017bfa63d71d9e038e63bb.tar.gz libutf8proc-bd8060ff57e1dff8cd017bfa63d71d9e038e63bb.tar.bz2 |
extend API with normalise extensionvince/v1.3.1
Diffstat (limited to 'include')
-rw-r--r-- | include/libutf8proc/utf8proc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libutf8proc/utf8proc.h b/include/libutf8proc/utf8proc.h index 00f10c8..1731703 100644 --- a/include/libutf8proc/utf8proc.h +++ b/include/libutf8proc/utf8proc.h @@ -479,6 +479,12 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose( ); /** + * Reencodes the sequence of unicode characters given by the pointer + * 'buffer' and 'length'. See utf8proc_reencode for further details. + */ +UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_normalise(utf8proc_int32_t *buffer, utf8proc_ssize_t length, utf8proc_option_t options); + +/** * Reencodes the sequence of `length` codepoints pointed to by `buffer` * UTF-8 data in-place (i.e., the result is also stored in `buffer`). * |