summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--json-glib/json-debug.c3
-rw-r--r--json-glib/json-debug.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/json-glib/json-debug.c b/json-glib/json-debug.c
index 5e72e43..b9c3b8f 100644
--- a/json-glib/json-debug.c
+++ b/json-glib/json-debug.c
@@ -8,7 +8,8 @@ static unsigned int json_debug_flags = 0;
static const GDebugKey json_debug_keys[] = {
{ "parser", JSON_DEBUG_PARSER },
{ "gobject", JSON_DEBUG_GOBJECT },
- { "path", JSON_DEBUG_PATH }
+ { "path", JSON_DEBUG_PATH },
+ { "node", JSON_DEBUG_NODE },
};
#endif /* JSON_ENABLE_DEBUG */
diff --git a/json-glib/json-debug.h b/json-glib/json-debug.h
index 03ea96b..1b3da52 100644
--- a/json-glib/json-debug.h
+++ b/json-glib/json-debug.h
@@ -8,7 +8,8 @@ G_BEGIN_DECLS
typedef enum {
JSON_DEBUG_PARSER = 1 << 0,
JSON_DEBUG_GOBJECT = 1 << 1,
- JSON_DEBUG_PATH = 1 << 2
+ JSON_DEBUG_PATH = 1 << 2,
+ JSON_DEBUG_NODE = 1 << 3
} JsonDebugFlags;
#define JSON_HAS_DEBUG(flag) (json_get_debug_flags () & JSON_DEBUG_##flag)