mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +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:
@@ -700,8 +700,9 @@ g_unichar_compose (gunichar a,
|
||||
* currently all decompositions are of length at most 4, but
|
||||
* this may change in the future (very unlikely though).
|
||||
* At any rate, Unicode does guarantee that a buffer of length
|
||||
* %G_UNICHAR_MAX_DECOMPOSITION_LEN is always enough for both compatibility and
|
||||
* canonical decompositions, so that is the size recommended.
|
||||
* 18 is always enough for both compatibility and canonical
|
||||
* decompositions, so that is the size recommended. This is provided
|
||||
* as %G_UNICHAR_MAX_DECOMPOSITION_LENGTH.
|
||||
*
|
||||
* See <ulink url="http://unicode.org/reports/tr15/">UAX#15</ulink>
|
||||
* for details.
|
||||
|
Reference in New Issue
Block a user