[json-glib] debug: Add flag for debugging nodes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib] debug: Add flag for debugging nodes
- Date: Tue, 22 Mar 2016 16:16:53 +0000 (UTC)
commit b659345f0fbf08053ae7087c7c2eb25905e61cf3
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Mar 22 16:01:25 2016 +0000
debug: Add flag for debugging nodes
json-glib/json-debug.c | 3 ++-
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 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]