diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-01-06 17:44:46 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-01-10 10:47:14 +0000 |
commit | e828cba563f2584e848994935478a7ffd21728df (patch) | |
tree | 9df2b4274004f0d92621081ed77f87cc078e92d1 /json-glib/json-array.c | |
parent | 02dd77efaa60201f74349c969dc005c8bb092057 (diff) | |
download | json-glib-e828cba563f2584e848994935478a7ffd21728df.tar.gz |
Add missing introspection annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=638932
Diffstat (limited to 'json-glib/json-array.c')
-rw-r--r-- | json-glib/json-array.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 |