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-array.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-array.c')
-rw-r--r-- | json-glib/json-array.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/json-glib/json-array.c b/json-glib/json-array.c index 301e050..dda971f 100644 --- a/json-glib/json-array.c +++ b/json-glib/json-array.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "json-types.h" +#include "json-types-private.h" /** * SECTION:json-array @@ -40,13 +40,6 @@ * To retrieve the length of the array, use json_array_get_length(). */ -struct _JsonArray -{ - GPtrArray *elements; - - volatile gint ref_count; -}; - GType json_array_get_type (void) { |