From bd8060ff57e1dff8cd017bfa63d71d9e038e63bb Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 4 Jan 2016 21:40:30 +0000 Subject: extend API with normalise extension --- include/libutf8proc/utf8proc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libutf8proc/utf8proc.h') 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 @@ -478,6 +478,12 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose( utf8proc_int32_t *buffer, utf8proc_ssize_t bufsize, utf8proc_option_t options ); +/** + * 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`). -- cgit v1.2.3