summaryrefslogtreecommitdiff
path: root/json-glib/json-private.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2007-10-01 18:01:20 +0100
committerEmmanuele Bassi <ebassi@openedhand.com>2007-10-01 18:01:20 +0100
commit228a5e4efe65995778847f48d2be43f3df988e10 (patch)
tree165f8b1dd7f0fabb926018b7d849324b938c23b2 /json-glib/json-private.h
parentbfa60e9ef9da71e3c0d171f81cd08e8eac749061 (diff)
downloadjson-glib-228a5e4efe65995778847f48d2be43f3df988e10.tar.gz
Move data types ctors and setters into the public headers
Now that we are providing a generator class we need to provide the constructors and setters for JsonNode, JsonObject and JsonArray. This also means that the json-private.h header is now useless, so we can remove it from the build and repository.
Diffstat (limited to 'json-glib/json-private.h')
-rw-r--r--json-glib/json-private.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/json-glib/json-private.h b/json-glib/json-private.h
deleted file mode 100644
index 44f5e37..0000000
--- a/json-glib/json-private.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef __JSON_PRIVATE_H__
-#define __JSON_PRIVATE_H__
-
-#include <glib-object.h>
-#include "json-types.h"
-
-G_BEGIN_DECLS
-
-JsonNode * json_node_new (JsonNodeType type);
-JsonNode * json_node_copy (JsonNode *node);
-void json_node_set_object (JsonNode *node,
- JsonObject *object);
-void json_node_take_object (JsonNode *node,
- JsonObject *object);
-void json_node_set_array (JsonNode *node,
- JsonArray *array);
-void json_node_take_array (JsonNode *node,
- JsonArray *array);
-void json_node_set_value (JsonNode *node,
- const GValue *value);
-void json_node_free (JsonNode *node);
-
-JsonObject * json_object_new (void);
-void json_object_add_member (JsonObject *object,
- const gchar *member_name,
- JsonNode *node);
-
-JsonArray * json_array_new (void);
-JsonArray * json_array_sized_new (guint n_elements);
-void json_array_add_element (JsonArray *array,
- JsonNode *node);
-
-G_END_DECLS
-
-#endif /* __JSON_PRIVATE_H__ */