summaryrefslogtreecommitdiff
path: root/json-glib/json-object.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-02-14 17:56:10 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2014-02-14 17:57:14 +0000
commitd8de1631c41333ba72a11658a2102bb42fb15d09 (patch)
tree7b256d05b7b6dc49ae14272cd46ca803068fdd88 /json-glib/json-object.c
parent4726ccc490a30aeff95b7c01fc6c44dbce36a7f4 (diff)
downloadjson-glib-d8de1631c41333ba72a11658a2102bb42fb15d09.tar.gz
Add missing annotations
JsonNode, JsonObject, and JsonArray have various constructors, so we need to annotate them.
Diffstat (limited to 'json-glib/json-object.c')
-rw-r--r--json-glib/json-object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/json-glib/json-object.c b/json-glib/json-object.c
index e7a7e29..95d2e86 100644
--- a/json-glib/json-object.c
+++ b/json-glib/json-object.c
@@ -52,11 +52,11 @@
G_DEFINE_BOXED_TYPE (JsonObject, json_object, json_object_ref, json_object_unref);
/**
- * json_object_new:
+ * json_object_new: (constructor)
*
* Creates a new #JsonObject, an JSON object type representation.
*
- * Return value: the newly created #JsonObject
+ * Return value: (transfer full): the newly created #JsonObject
*/
JsonObject *
json_object_new (void)
@@ -80,7 +80,7 @@ json_object_new (void)
*
* Increase by one the reference count of a #JsonObject.
*
- * Return value: the passed #JsonObject, with the reference count
+ * Return value: (transfer none): the passed #JsonObject, with the reference count
* increased by one.
*/
JsonObject *