]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: unicode-transform - Rename uni_ucs4_decompose_hangul() to unicode_hangul_decompose()
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 21 Mar 2025 05:04:19 +0000 (06:04 +0100)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 1 Aug 2025 01:11:19 +0000 (03:11 +0200)
src/lib/unicode-transform.c

index 6b05fb4ca3f6897dcef666df0f1683aceb132fb9..667f1671bb7cc0d7fc92afb282de912ba090b459 100644 (file)
@@ -7,7 +7,7 @@
  * Hangul syllable (de)composition
  */
 
-static size_t uni_ucs4_decompose_hangul(uint32_t chr, uint32_t buf[3])
+static size_t unicode_hangul_decompose(uint32_t chr, uint32_t buf[3])
 {
        /* The Unicode Standard, Section 3.12.2:
           Hangul Syllable Decomposition
@@ -47,7 +47,7 @@ static void uni_ucs4_decompose_hangul_utf8(uint32_t chr, buffer_t *output)
        uint32_t buf[3];
        size_t len, i;
 
-       len = uni_ucs4_decompose_hangul(chr, buf);
+       len = unicode_hangul_decompose(chr, buf);
 
        for (i = 0; i < len; i++)
                uni_ucs4_to_utf8_c(buf[i], output);