From 069cdc8c4ea9024b1583f074815e16e9ddf7db7f Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 9 Jun 2009 11:05:23 +0100 Subject: [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. --- json-glib/json-array.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'json-glib/json-array.c') 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) { -- cgit v1.2.1