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-array.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'json-glib/json-array.c') diff --git a/json-glib/json-array.c b/json-glib/json-array.c index a51bf35..e81e846 100644 --- a/json-glib/json-array.c +++ b/json-glib/json-array.c @@ -204,7 +204,7 @@ json_array_dup_element (JsonArray *array, * Retrieves the #JsonNode containing the value of the element at @index_ * inside a #JsonArray. * - * Return value: a pointer to the #JsonNode at the requested index + * Return value: (transfer none): a pointer to the #JsonNode at the requested index */ JsonNode * json_array_get_element (JsonArray *array, @@ -453,7 +453,7 @@ json_array_get_length (JsonArray *array) /** * json_array_add_element: * @array: a #JsonArray - * @node: a #JsonNode + * @node: (transfer full): a #JsonNode * * Appends @node inside @array. The array will take ownership of the * #JsonNode. @@ -599,7 +599,7 @@ json_array_add_null_element (JsonArray *array) /** * json_array_add_array_element: * @array: a #JsonArray - * @value: a #JsonArray + * @value: (transfer full): a #JsonArray * * Conveniently adds an array into @array. The @array takes ownership * of the newly added #JsonArray @@ -631,7 +631,7 @@ json_array_add_array_element (JsonArray *array, /** * json_array_add_object_element: * @array: a #JsonArray - * @value: a #JsonObject + * @value: (transfer full): a #JsonObject * * Conveniently adds an object into @array. The @array takes ownership * of the newly added #JsonObject -- cgit v1.2.1