diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-06-09 11:05:23 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-06-09 11:05:23 +0100 |
commit | 069cdc8c4ea9024b1583f074815e16e9ddf7db7f (patch) | |
tree | eb153ff1574b87a642694b0212efe42d590c6e04 /json-glib/json-object.c | |
parent | 930fdf4c4dff1f5310a946c2a9f5b6860f7c8ba8 (diff) | |
download | json-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-object.c')
-rw-r--r-- | json-glib/json-object.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/json-glib/json-object.c b/json-glib/json-object.c index 6397954..66c347c 100644 --- a/json-glib/json-object.c +++ b/json-glib/json-object.c @@ -24,7 +24,7 @@ #include <glib.h> -#include "json-types.h" +#include "json-types-private.h" /** * SECTION:json-object @@ -48,13 +48,6 @@ * use json_object_get_size(). */ -struct _JsonObject -{ - GHashTable *members; - - volatile gint ref_count; -}; - GType json_object_get_type (void) { |