From e828cba563f2584e848994935478a7ffd21728df Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Thu, 6 Jan 2011 17:44:46 +0100 Subject: Add missing introspection annotations. https://bugzilla.gnome.org/show_bug.cgi?id=638932 --- json-glib/json-node.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'json-glib/json-node.c') 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) -- cgit v1.2.1