summaryrefslogtreecommitdiff
path: root/json-glib/json-node.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2009-06-09 11:05:23 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2009-06-09 11:05:23 +0100
commit069cdc8c4ea9024b1583f074815e16e9ddf7db7f (patch)
treeeb153ff1574b87a642694b0212efe42d590c6e04 /json-glib/json-node.c
parent930fdf4c4dff1f5310a946c2a9f5b6860f7c8ba8 (diff)
downloadjson-glib-069cdc8c4ea9024b1583f074815e16e9ddf7db7f.tar.gz
[node] Make JsonNode completely private
The JsonNode structure has always been meant to be completely opaque; we indirectly exposed the :type member, but only for access through the JSON_NODE_TYPE() macro. Since that macro has become a proxy for the json_node_get_node_type() function we can safely move everything into a private, uninstalled header file and let JsonNode be completely opaque to the developer.
Diffstat (limited to 'json-glib/json-node.c')
-rw-r--r--json-glib/json-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-node.c b/json-glib/json-node.c
index 04570dd..c844ce4 100644
--- a/json-glib/json-node.c
+++ b/json-glib/json-node.c
@@ -23,7 +23,7 @@
#include <glib.h>
-#include "json-types.h"
+#include "json-types-private.h"
/**
* SECTION:json-node