mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
gvariant-parser: Mention annotated types
g_variant_parse() supports g_variant_printf()s type annotations which can be needed e.g. in detailed action names. Reference: https://gitlab.gnome.org/GNOME/gtk/-/issues/6303#note_1958300
This commit is contained in:
parent
f09bd17e32
commit
d025a7f5b3
@ -2502,7 +2502,8 @@ parse (TokenStream *stream,
|
||||
* then it will be set to reflect the error that occurred.
|
||||
*
|
||||
* Officially, the language understood by the parser is "any string
|
||||
* produced by g_variant_print()".
|
||||
* produced by g_variant_print()". This explicitly includes
|
||||
* `g_variant_print()`’s annotated types like `int64 -1000`.
|
||||
*
|
||||
* There may be implementation specific restrictions on deeply nested values,
|
||||
* which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is
|
||||
|
Loading…
Reference in New Issue
Block a user