From d8de1631c41333ba72a11658a2102bb42fb15d09 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 14 Feb 2014 17:56:10 +0000 Subject: Add missing annotations JsonNode, JsonObject, and JsonArray have various constructors, so we need to annotate them. --- json-glib/json-array.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'json-glib/json-array.c') 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 * -- cgit v1.2.1