mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-09-21 09:46:18 +02:00
Move declarations around
So g_unichar API comes before g_utf8.
This commit is contained in:
parent
761a1841ee
commit
7ad2f0eb80
@ -279,6 +279,13 @@ GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST;
|
|||||||
/* Returns the combining class for a given character */
|
/* Returns the combining class for a given character */
|
||||||
gint g_unichar_combining_class (gunichar uc) G_GNUC_CONST;
|
gint g_unichar_combining_class (gunichar uc) G_GNUC_CONST;
|
||||||
|
|
||||||
|
gboolean g_unichar_get_mirror_char (gunichar ch,
|
||||||
|
gunichar *mirrored_ch);
|
||||||
|
|
||||||
|
GUnicodeScript g_unichar_get_script (gunichar ch) G_GNUC_CONST;
|
||||||
|
|
||||||
|
/* Validate a Unicode character */
|
||||||
|
gboolean g_unichar_validate (gunichar ch) G_GNUC_CONST;
|
||||||
|
|
||||||
/* Pairwise canonical compose/decompose */
|
/* Pairwise canonical compose/decompose */
|
||||||
gboolean g_unichar_compose (gunichar a,
|
gboolean g_unichar_compose (gunichar a,
|
||||||
@ -301,6 +308,7 @@ void g_unicode_canonical_ordering (gunichar *string,
|
|||||||
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
||||||
gsize *result_len) G_GNUC_MALLOC;
|
gsize *result_len) G_GNUC_MALLOC;
|
||||||
|
|
||||||
|
|
||||||
/* Array of skip-bytes-per-initial character.
|
/* Array of skip-bytes-per-initial character.
|
||||||
*/
|
*/
|
||||||
GLIB_VAR const gchar * const g_utf8_skip;
|
GLIB_VAR const gchar * const g_utf8_skip;
|
||||||
@ -393,9 +401,6 @@ gboolean g_utf8_validate (const gchar *str,
|
|||||||
gssize max_len,
|
gssize max_len,
|
||||||
const gchar **end);
|
const gchar **end);
|
||||||
|
|
||||||
/* Validate a Unicode character */
|
|
||||||
gboolean g_unichar_validate (gunichar ch) G_GNUC_CONST;
|
|
||||||
|
|
||||||
gchar *g_utf8_strup (const gchar *str,
|
gchar *g_utf8_strup (const gchar *str,
|
||||||
gssize len) G_GNUC_MALLOC;
|
gssize len) G_GNUC_MALLOC;
|
||||||
gchar *g_utf8_strdown (const gchar *str,
|
gchar *g_utf8_strdown (const gchar *str,
|
||||||
@ -425,11 +430,6 @@ gchar *g_utf8_collate_key (const gchar *str,
|
|||||||
gchar *g_utf8_collate_key_for_filename (const gchar *str,
|
gchar *g_utf8_collate_key_for_filename (const gchar *str,
|
||||||
gssize len) G_GNUC_MALLOC;
|
gssize len) G_GNUC_MALLOC;
|
||||||
|
|
||||||
gboolean g_unichar_get_mirror_char (gunichar ch,
|
|
||||||
gunichar *mirrored_ch);
|
|
||||||
|
|
||||||
GUnicodeScript g_unichar_get_script (gunichar ch) G_GNUC_CONST;
|
|
||||||
|
|
||||||
|
|
||||||
/* private */
|
/* private */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user