mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-12 12:14:06 +02:00
unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH
Raised by Matthias in bgo#665685 but which I didn't spot until after pushing
commit 3ac7c35656
.
Renames G_UNICHAR_MAX_DECOMPOSITION_LEN to G_UNICHAR_MAX_DECOMPOSITION_LENGTH
and fixes a few documentation issues.
See: bgo#665685
This commit is contained in:
@@ -552,7 +552,7 @@ gsize g_unichar_fully_decompose (gunichar ch,
|
||||
gsize result_len);
|
||||
|
||||
/**
|
||||
* G_UNICHAR_MAX_COMPAT_DECOMPOSITION_LEN:
|
||||
* G_UNICHAR_MAX_DECOMPOSITION_LENGTH:
|
||||
*
|
||||
* The maximum length (in codepoints) of a compatibility or canonical
|
||||
* decomposition of a single Unicode character.
|
||||
@@ -561,7 +561,7 @@ gsize g_unichar_fully_decompose (gunichar ch,
|
||||
*
|
||||
* Since: 2.31.3
|
||||
*/
|
||||
#define G_UNICHAR_MAX_DECOMPOSITION_LEN 18 /* codepoints */
|
||||
#define G_UNICHAR_MAX_DECOMPOSITION_LENGTH 18 /* codepoints */
|
||||
|
||||
/* Compute canonical ordering of a string in-place. This rearranges
|
||||
decomposed characters in the string according to their combining
|
||||
|
Reference in New Issue
Block a user