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
This commit is contained in:
Kang Hu 2014-05-10 20:47:57 +08:00 committed by Matthias Clasen
parent 9f5afe3966
commit baef9d1811
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,8 @@
G_BEGIN_DECLS
extern GTypeDebugFlags _g_type_debug_flags;
typedef struct _GRealClosure GRealClosure;
struct _GRealClosure
{

View File

@ -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