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-object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'json-glib/json-object.c') diff --git a/json-glib/json-object.c b/json-glib/json-object.c index e7a7e29..95d2e86 100644 --- a/json-glib/json-object.c +++ b/json-glib/json-object.c @@ -52,11 +52,11 @@ G_DEFINE_BOXED_TYPE (JsonObject, json_object, json_object_ref, json_object_unref); /** - * json_object_new: + * json_object_new: (constructor) * * Creates a new #JsonObject, an JSON object type representation. * - * Return value: the newly created #JsonObject + * Return value: (transfer full): the newly created #JsonObject */ JsonObject * json_object_new (void) @@ -80,7 +80,7 @@ json_object_new (void) * * Increase by one the reference count of a #JsonObject. * - * Return value: the passed #JsonObject, with the reference count + * Return value: (transfer none): the passed #JsonObject, with the reference count * increased by one. */ JsonObject * -- cgit v1.2.1