summaryrefslogtreecommitdiff
path: root/json-glib/json-builder.c
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2010-08-15 20:30:21 +0200
committerLuca Bruno <lethalman88@gmail.com>2010-08-15 20:30:44 +0200
commitd05e919208a47c18d001ac08900b4d2837efd4b4 (patch)
treeae7a9265c57c452b9dedab584fa22cdcc00c9da6 /json-glib/json-builder.c
parent2c3062cbd79826b184a6f613c519e69f3ddc1ec6 (diff)
downloadjson-glib-d05e919208a47c18d001ac08900b4d2837efd4b4.tar.gz
docs: Add transfer none annotation to JsonBuilder return values.
Diffstat (limited to 'json-glib/json-builder.c')
-rw-r--r--json-glib/json-builder.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/json-glib/json-builder.c b/json-glib/json-builder.c
index 7b9d581..14e7d18 100644
--- a/json-glib/json-builder.c
+++ b/json-glib/json-builder.c
@@ -231,7 +231,7 @@ json_builder_reset (JsonBuilder *builder)
* Can be called for first or only if the call is associated to an object member
* or an array element.
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_begin_object (JsonBuilder *builder)
@@ -283,7 +283,7 @@ json_builder_begin_object (JsonBuilder *builder)
*
* Cannot be called after json_builder_set_member_name().
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_end_object (JsonBuilder *builder)
@@ -317,7 +317,7 @@ json_builder_end_object (JsonBuilder *builder)
* Can be called for first or only if the call is associated to an object member
* or an array element.
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_begin_array (JsonBuilder *builder)
@@ -369,7 +369,7 @@ json_builder_begin_array (JsonBuilder *builder)
*
* Cannot be called after json_builder_set_member_name().
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_end_array (JsonBuilder *builder)
@@ -403,7 +403,7 @@ json_builder_end_array (JsonBuilder *builder)
*
* Can be called only if the call is associated to an object.
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_set_member_name (JsonBuilder *builder, const gchar *member_name)
@@ -431,7 +431,7 @@ json_builder_set_member_name (JsonBuilder *builder, const gchar *member_name)
* most recent opened object, otherwise @node is added as element of the most
* recent opened array.
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_add_value (JsonBuilder *builder, JsonNode *node)
@@ -475,7 +475,7 @@ json_builder_add_value (JsonBuilder *builder, JsonNode *node)
*
* See also: json_builder_add_value()
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_add_int_value (JsonBuilder *builder, gint64 value)
@@ -518,7 +518,7 @@ json_builder_add_int_value (JsonBuilder *builder, gint64 value)
*
* See also: json_builder_add_value()
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_add_double_value (JsonBuilder *builder, gdouble value)
@@ -562,7 +562,7 @@ json_builder_add_double_value (JsonBuilder *builder, gdouble value)
*
* See also: json_builder_add_value()
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_add_boolean_value (JsonBuilder *builder, gboolean value)
@@ -606,7 +606,7 @@ json_builder_add_boolean_value (JsonBuilder *builder, gboolean value)
*
* See also: json_builder_add_value()
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_add_string_value (JsonBuilder *builder, const gchar *value)
@@ -649,7 +649,7 @@ json_builder_add_string_value (JsonBuilder *builder, const gchar *value)
*
* See also: json_builder_add_value()
*
- * Return value: the #JsonBuilder, or %NULL if the call was inconsistent
+ * Return value: (transfer none): the #JsonBuilder, or %NULL if the call was inconsistent
*/
JsonBuilder *
json_builder_add_null_value (JsonBuilder *builder)