gvariant-parser: Fix links to gvariant-format doc

Also escape some function names
This commit is contained in:
Guido Günther 2024-01-09 16:59:18 +01:00 committed by Philip Withnall
parent d025a7f5b3
commit 13a2ea7dd8

View File

@ -2476,7 +2476,7 @@ parse (TokenStream *stream,
* *
* A single #GVariant is parsed from the content of @text. * A single #GVariant is parsed from the content of @text.
* *
* The format is described [here][gvariant-text]. * The format is described [here](gvariant-text-format.html).
* *
* The memory at @limit will never be accessed and the parser behaves as * The memory at @limit will never be accessed and the parser behaves as
* if the character at @limit is the nul terminator. This has the * if the character at @limit is the nul terminator. This has the
@ -2496,13 +2496,13 @@ parse (TokenStream *stream,
* *
* In the event that the parsing is successful, the resulting #GVariant * In the event that the parsing is successful, the resulting #GVariant
* is returned. It is never floating, and must be freed with * is returned. It is never floating, and must be freed with
* g_variant_unref(). * [method@GLib.Variant.unref].
* *
* In case of any error, %NULL will be returned. If @error is non-%NULL * In case of any error, %NULL will be returned. If @error is non-%NULL
* then it will be set to reflect the error that occurred. * then it will be set to reflect the error that occurred.
* *
* Officially, the language understood by the parser is "any string * Officially, the language understood by the parser is any string
* produced by g_variant_print()". This explicitly includes * produced by [method@GLib.Variant.print]. This explicitly includes
* `g_variant_print()`s annotated types like `int64 -1000`. * `g_variant_print()`s annotated types like `int64 -1000`.
* *
* There may be implementation specific restrictions on deeply nested values, * There may be implementation specific restrictions on deeply nested values,