summaryrefslogtreecommitdiff
path: root/json-glib/json-gboxed.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-gboxed.c')
-rw-r--r--json-glib/json-gboxed.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/json-glib/json-gboxed.c b/json-glib/json-gboxed.c
index 6dd85c4..09129c2 100644
--- a/json-glib/json-gboxed.c
+++ b/json-glib/json-gboxed.c
@@ -245,12 +245,14 @@ json_boxed_serialize (GType gboxed_type,
}
/**
- * json_boxed_serialize:
+ * json_boxed_deserialize:
* @gboxed_type: a boxed type
* @node: a #JsonNode
*
- * Deserializes @node into @boxed, a pointer to a #GBoxed of type
- * @gboxed_type
+ * Deserializes @node into a #GBoxed of @gboxed_type
+ *
+ * Return value: the newly allocated #GBoxed. Use g_boxed_free() to
+ * release the resources allocated by this function
*
* Since: 0.10
*/