summaryrefslogtreecommitdiff
path: root/json-glib/json-reader.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-03-06 13:58:15 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2014-03-18 16:27:59 +0000
commit20c861f02f8e41cde2dec92f9d63d8266383c26b (patch)
treeb5a9fa61922cbc27cc0c94e52979d96df11a4a8d /json-glib/json-reader.c
parentff018d7e560278d65a03c4de71c3cf11b22d3167 (diff)
downloadjson-glib-20c861f02f8e41cde2dec92f9d63d8266383c26b.tar.gz
docs: Port to MarkDown
Drop the DocBook documentation, and move everything to the MarkDown format used by modern gtk-doc.
Diffstat (limited to 'json-glib/json-reader.c')
-rw-r--r--json-glib/json-reader.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/json-glib/json-reader.c b/json-glib/json-reader.c
index 16a50e7..eea2866 100644
--- a/json-glib/json-reader.c
+++ b/json-glib/json-reader.c
@@ -33,27 +33,24 @@
* called, e.g.:
*
* |[
- * /&ast; ask for the 7th element; if the element does not exist, the
- * &ast; reader will be put in an error state
- * &ast;/
+ * // ask for the 7th element; if the element does not exist, the
+ * // reader will be put in an error state
* json_reader_read_element (reader, 6);
*
- * /&ast; in case of error, this will return NULL, otherwise it will
- * &ast; return the value of the element
- * &ast;/
+ * // in case of error, this will return NULL, otherwise it will
+ * // return the value of the element
* str = json_reader_get_string_value (value);
*
- * /&ast; this function resets the error state if any was set &ast;/
+ * // this function resets the error state if any was set
* json_reader_end_element (reader);
* ]|
*
* If you want to detect the error state as soon as possible, you can use
* json_reader_get_error():
*
- * |[
- * /&ast; like the example above, but in this case we print out the
- * &ast; error immediately
- * &ast;/
+ * |[<!-- language="C" -->
+ * // like the example above, but in this case we print out the
+ * // error immediately
* if (!json_reader_read_element (reader, 6))
* {
* const GError *error = json_reader_get_error (reader);