[glib] Move declarations around



commit 7ad2f0eb803dee72beb49dc9a22d2b9578d2e8b8
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Jul 13 23:18:53 2011 -0400

    Move declarations around
    
    So g_unichar API comes before g_utf8.

 glib/gunicode.h |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/glib/gunicode.h b/glib/gunicode.h
index a0ed2d9..ca0569e 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -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 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]