[glib] gobject: move _g_type_debug_flags from gtype.h to gtype-private.h



commit baef9d18116d55196f00847e0b96c317bab2238b
Author: Kang Hu <hukangustc gmail com>
Date:   Sat May 10 20:47:57 2014 +0800

    gobject: move _g_type_debug_flags from gtype.h to gtype-private.h
    
    _g_type_debug_flags is used internally to suport GOBJECT_DEBUG
    environment variable. it should never be exposed to the outside.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=729914

 gobject/gtype-private.h |    2 ++
 gobject/gtype.h         |    1 -
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gtype-private.h b/gobject/gtype-private.h
index e599bd9..d7e2ee2 100644
--- a/gobject/gtype-private.h
+++ b/gobject/gtype-private.h
@@ -26,6 +26,8 @@
 
 G_BEGIN_DECLS
 
+extern GTypeDebugFlags _g_type_debug_flags;
+
 typedef struct _GRealClosure  GRealClosure;
 struct _GRealClosure
 {
diff --git a/gobject/gtype.h b/gobject/gtype.h
index c604d53..3db7f2e 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -1984,7 +1984,6 @@ const gchar *    g_type_name_from_class         (GTypeClass       *g_class);
  * A bit in the type number that's supposed to be left untouched.
  */
 #define        G_TYPE_FLAG_RESERVED_ID_BIT     ((GType) (1 << 0))
-extern GTypeDebugFlags                 _g_type_debug_flags;
 
 G_END_DECLS
 


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