diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2014-02-14 17:56:10 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2014-02-14 17:57:14 +0000 |
commit | d8de1631c41333ba72a11658a2102bb42fb15d09 (patch) | |
tree | 7b256d05b7b6dc49ae14272cd46ca803068fdd88 /json-glib/json-array.c | |
parent | 4726ccc490a30aeff95b7c01fc6c44dbce36a7f4 (diff) | |
download | json-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-array.c')
-rw-r--r-- | json-glib/json-array.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/json-glib/json-array.c b/json-glib/json-array.c index 0d65e42..9108a72 100644 --- a/json-glib/json-array.c +++ b/json-glib/json-array.c @@ -47,11 +47,11 @@ G_DEFINE_BOXED_TYPE (JsonArray, json_array, json_array_ref, json_array_unref); /** - * json_array_new: + * json_array_new: (constructor) * * Creates a new #JsonArray. * - * Return value: the newly created #JsonArray + * Return value: (transfer full): the newly created #JsonArray */ JsonArray * json_array_new (void) @@ -67,12 +67,12 @@ json_array_new (void) } /** - * json_array_sized_new: + * json_array_sized_new: (constructor) * @n_elements: number of slots to pre-allocate * * Creates a new #JsonArray with @n_elements slots already allocated. * - * Return value: the newly created #JsonArray + * Return value: (transfer full): the newly created #JsonArray */ JsonArray * json_array_sized_new (guint n_elements) @@ -93,7 +93,7 @@ json_array_sized_new (guint n_elements) * * Increase by one the reference count of a #JsonArray. * - * Return value: the passed #JsonArray, with the reference count + * Return value: (transfer none): the passed #JsonArray, with the reference count * increased by one. */ JsonArray * |