summaryrefslogtreecommitdiff
path: root/src/utf8proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8proc.c')
-rw-r--r--src/utf8proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utf8proc.c b/src/utf8proc.c
index cf64034..0814835 100644
--- a/src/utf8proc.c
+++ b/src/utf8proc.c
@@ -461,7 +461,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose(
return wpos;
}
-UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_normalise(utf8proc_int32_t *buffer, utf8proc_ssize_t length, utf8proc_option_t options) {
+UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_normalize_utf32(utf8proc_int32_t *buffer, utf8proc_ssize_t length, utf8proc_option_t options) {
/* UTF8PROC_NULLTERM option will be ignored, 'length' is never ignored
ASSERT: 'buffer' has one spare byte of free space at the end! */
if (options & (UTF8PROC_NLF2LS | UTF8PROC_NLF2PS | UTF8PROC_STRIPCC)) {
@@ -568,7 +568,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_normalise(utf8proc_int32_t *buffer,
}
UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_reencode(utf8proc_int32_t *buffer, utf8proc_ssize_t length, utf8proc_option_t options) {
- length = utf8proc_normalise(buffer, length, options);
+ length = utf8proc_normalize_utf32(buffer, length, options);
if (length < 0) return length;
{