diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-09-25 11:48:25 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-09-25 11:52:07 +0100 |
commit | 7707b18f42b3a19dd780ba73ce1dabb6b8ef3c95 (patch) | |
tree | ce59dd3d3e6afd719f58fc449013e9f513792d14 | |
parent | c6bf7ecb0a836b5b43f203cb22be577bd54b9e9a (diff) | |
download | json-glib-7707b18f42b3a19dd780ba73ce1dabb6b8ef3c95.tar.gz |
debug: Add debug flags for GObject-related code
-rw-r--r-- | json-glib/json-debug.c | 3 | ||||
-rw-r--r-- | json-glib/json-debug.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/json-glib/json-debug.c b/json-glib/json-debug.c index 471d082..dd725c4 100644 --- a/json-glib/json-debug.c +++ b/json-glib/json-debug.c @@ -9,7 +9,8 @@ static gboolean json_debug_flags_set = FALSE; #ifdef JSON_ENABLE_DEBUG static const GDebugKey json_debug_keys[] = { - { "parser", JSON_DEBUG_PARSER } + { "parser", JSON_DEBUG_PARSER }, + { "gobject", JSON_DEBUG_GOBJECT } }; #endif /* JSON_ENABLE_DEBUG */ diff --git a/json-glib/json-debug.h b/json-glib/json-debug.h index dc0d861..20f22c6 100644 --- a/json-glib/json-debug.h +++ b/json-glib/json-debug.h @@ -6,7 +6,8 @@ G_BEGIN_DECLS typedef enum { - JSON_DEBUG_PARSER = 1 << 0 + JSON_DEBUG_PARSER = 1 << 0, + JSON_DEBUG_GOBJECT = 1 << 1 } JsonDebugFlags; #ifdef JSON_ENABLE_DEBUG |