mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Add G_UNICODE_SCRIPT_MATH to GUnicodeScript
This commit is contained in:
parent
50d23f9680
commit
e85a085ca4
@ -435,6 +435,7 @@ typedef enum
|
||||
* @G_UNICODE_SCRIPT_TANGSA: Tangsa. Since: 2.72
|
||||
* @G_UNICODE_SCRIPT_TOTO: Toto. Since: 2.72
|
||||
* @G_UNICODE_SCRIPT_VITHKUQI: Vithkuqi. Since: 2.72
|
||||
* @G_UNICODE_SCRIPT_MATH: Mathematical notation. Since: 2.72
|
||||
*
|
||||
* The #GUnicodeScript enumeration identifies different writing
|
||||
* systems. The values correspond to the names as defined in the
|
||||
@ -640,6 +641,9 @@ typedef enum
|
||||
G_UNICODE_SCRIPT_TANGSA, /* Tnsa */
|
||||
G_UNICODE_SCRIPT_TOTO, /* Toto */
|
||||
G_UNICODE_SCRIPT_VITHKUQI, /* Vith */
|
||||
|
||||
/* not really a Unicode script, but part of ISO 15924 */
|
||||
G_UNICODE_SCRIPT_MATH, /* Zmth */
|
||||
} GUnicodeScript;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
|
@ -1501,6 +1501,9 @@ static const guint32 iso15924_tags[] =
|
||||
PACK ('T', 'o', 't', 'o'), /* G_UNICODE_SCRIPT_TOTO */
|
||||
PACK ('V', 'i', 't', 'h'), /* G_UNICODE_SCRIPT_VITHKUQI */
|
||||
|
||||
/* not really a Unicode script, but part of ISO 15924 */
|
||||
PACK ('Z', 'm', 't', 'h'), /* G_UNICODE_SCRIPT_MATH */
|
||||
|
||||
#undef PACK
|
||||
};
|
||||
|
||||
|
@ -1587,6 +1587,7 @@ test_iso15924 (void)
|
||||
} data[] = {
|
||||
{ G_UNICODE_SCRIPT_COMMON, "Zyyy" },
|
||||
{ G_UNICODE_SCRIPT_INHERITED, "Zinh" },
|
||||
{ G_UNICODE_SCRIPT_MATH, "Zmth" },
|
||||
{ G_UNICODE_SCRIPT_ARABIC, "Arab" },
|
||||
{ G_UNICODE_SCRIPT_ARMENIAN, "Armn" },
|
||||
{ G_UNICODE_SCRIPT_BENGALI, "Beng" },
|
||||
|
Loading…
Reference in New Issue
Block a user