[json-glib] node: add (transfer none) annotations to the new typed initializers



commit eba4dfe745e14f8a27339d2b9962168aeec25b94
Author: Evan Nemerson <evan coeus-group com>
Date:   Mon Feb 11 01:55:51 2013 -0800

    node: add (transfer none) annotations to the new typed initializers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693575

 json-glib/json-node.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/json-glib/json-node.c b/json-glib/json-node.c
index f2b5e69..88a814e 100644
--- a/json-glib/json-node.c
+++ b/json-glib/json-node.c
@@ -172,7 +172,7 @@ json_node_init (JsonNode *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */
@@ -200,7 +200,7 @@ json_node_init_object (JsonNode   *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */
@@ -226,7 +226,7 @@ json_node_init_array (JsonNode  *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */
@@ -252,7 +252,7 @@ json_node_init_int (JsonNode *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */
@@ -278,7 +278,7 @@ json_node_init_double (JsonNode *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */
@@ -304,7 +304,7 @@ json_node_init_boolean (JsonNode *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */
@@ -329,7 +329,7 @@ json_node_init_string (JsonNode   *node,
  * If the node has already been initialized once, it will be reset to
  * the given type, and any data contained will be cleared.
  *
- * Return value: the initialized #JsonNode
+ * Return value: (transfer none): the initialized #JsonNode
  *
  * Since: 0.16
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]