Move declarations around

So g_unichar API comes before g_utf8.
This commit is contained in:
Behdad Esfahbod 2011-07-13 23:18:53 -04:00
parent 761a1841ee
commit 7ad2f0eb80

View File

@ -279,6 +279,13 @@ GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST;
/* Returns the combining class for a given character */
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 */
gboolean g_unichar_compose (gunichar a,
@ -301,6 +308,7 @@ void g_unicode_canonical_ordering (gunichar *string,
gunichar *g_unicode_canonical_decomposition (gunichar ch,
gsize *result_len) G_GNUC_MALLOC;
/* Array of skip-bytes-per-initial character.
*/
GLIB_VAR const gchar * const g_utf8_skip;
@ -393,9 +401,6 @@ gboolean g_utf8_validate (const gchar *str,
gssize max_len,
const gchar **end);
/* Validate a Unicode character */
gboolean g_unichar_validate (gunichar ch) G_GNUC_CONST;
gchar *g_utf8_strup (const gchar *str,
gssize len) G_GNUC_MALLOC;
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,
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 */