summaryrefslogtreecommitdiff
path: root/json-glib/json-generator.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2009-09-02 16:41:51 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2009-09-02 16:42:35 +0100
commit7442a3011a860f12cbd40b6687b699b0b648d6b7 (patch)
tree22078931e6239066df57a59c1b7aaf5f3066e827 /json-glib/json-generator.c
parentd7d1e702b1d67fa1ec830a46650a02367ce1dd29 (diff)
downloadjson-glib-7442a3011a860f12cbd40b6687b699b0b648d6b7.tar.gz
[docs] Small documentation fixes
Clean up some notes, and add introspection annotations where needed.
Diffstat (limited to 'json-glib/json-generator.c')
-rw-r--r--json-glib/json-generator.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/json-glib/json-generator.c b/json-glib/json-generator.c
index 01e5832..c17d97f 100644
--- a/json-glib/json-generator.c
+++ b/json-glib/json-generator.c
@@ -532,13 +532,14 @@ json_generator_new (void)
/**
* json_generator_to_data:
* @generator: a #JsonGenerator
- * @length: return location for the length of the returned buffer, or %NULL
+ * @length: (out): return location for the length of the returned
+ * buffer, or %NULL
*
* Generates a JSON data stream from @generator and returns it as a
* buffer.
*
- * Return value: a newly allocated buffer holding a JSON data stream. Use
- * g_free() to free the allocated resources.
+ * Return value: a newly allocated buffer holding a JSON data stream.
+ * Use g_free() to free the allocated resources.
*/
gchar *
json_generator_to_data (JsonGenerator *generator,
@@ -620,8 +621,8 @@ json_generator_to_file (JsonGenerator *generator,
* Sets @node as the root of the JSON data stream to be serialized by
* the #JsonGenerator.
*
- * Note: the node is copied by the generator object, so it can be safely
- * freed after calling this function.
+ * <note>The node is copied by the generator object, so it can be safely
+ * freed after calling this function.</note>
*/
void
json_generator_set_root (JsonGenerator *generator,