summaryrefslogtreecommitdiff
path: root/json-glib/json-node.c
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-01-06 17:44:46 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-01-10 10:47:14 +0000
commite828cba563f2584e848994935478a7ffd21728df (patch)
tree9df2b4274004f0d92621081ed77f87cc078e92d1 /json-glib/json-node.c
parent02dd77efaa60201f74349c969dc005c8bb092057 (diff)
downloadjson-glib-e828cba563f2584e848994935478a7ffd21728df.tar.gz
Add missing introspection annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=638932
Diffstat (limited to 'json-glib/json-node.c')
-rw-r--r--json-glib/json-node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/json-glib/json-node.c b/json-glib/json-node.c
index c8763fe..7cb8852 100644
--- a/json-glib/json-node.c
+++ b/json-glib/json-node.c
@@ -182,7 +182,7 @@ json_node_set_object (JsonNode *node,
/**
* json_node_take_object:
* @node: a #JsonNode
- * @object: a #JsonObject
+ * @object: (transfer full): a #JsonObject
*
* Sets @object inside @node. The reference count of @object is not increased.
*/
@@ -267,7 +267,7 @@ json_node_set_array (JsonNode *node,
/**
* json_node_take_array:
* @node: a #JsonNode
- * @array: a #JsonArray
+ * @array: (transfer full): a #JsonArray
*
* Sets @array into @node without increasing the #JsonArray reference count.
*/
@@ -330,7 +330,7 @@ json_node_dup_array (JsonNode *node)
/**
* json_node_get_value:
* @node: a #JsonNode
- * @value: return location for an uninitialized value
+ * @value: (out): return location for an uninitialized value
*
* Retrieves a value from a #JsonNode and copies into @value. When done
* using it, call g_value_unset() on the #GValue.
@@ -519,7 +519,7 @@ json_node_set_parent (JsonNode *node,
*
* Retrieves the parent #JsonNode of @node.
*
- * Return value: the parent node, or %NULL if @node is the root node
+ * Return value: (transfer none) the parent node, or %NULL if @node is the root node
*/
JsonNode *
json_node_get_parent (JsonNode *node)