mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 04:05:11 +01:00
Add enum type for GVariantParseError
This commit is contained in:
parent
09aa2e79ab
commit
ede159ec45
@ -2920,6 +2920,7 @@ g_variant_builder_open
|
|||||||
g_variant_builder_close
|
g_variant_builder_close
|
||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
|
GVariantParseError
|
||||||
G_VARIANT_PARSE_ERROR
|
G_VARIANT_PARSE_ERROR
|
||||||
g_variant_parse
|
g_variant_parse
|
||||||
g_variant_new_parsed_va
|
g_variant_new_parsed_va
|
||||||
|
@ -39,6 +39,13 @@
|
|||||||
* are not currently defined for this domain. See #GError for
|
* are not currently defined for this domain. See #GError for
|
||||||
* information on error domains.
|
* information on error domains.
|
||||||
**/
|
**/
|
||||||
|
/**
|
||||||
|
* GVariantParseError:
|
||||||
|
* @G_VARIANT_PARSE_ERROR_FAILED: generic error
|
||||||
|
*
|
||||||
|
* Error codes returned by parsing text-format GVariants. Currently the
|
||||||
|
* parser makes no distinction between different types of error.
|
||||||
|
**/
|
||||||
GQuark
|
GQuark
|
||||||
g_variant_parser_get_error_quark (void)
|
g_variant_parser_get_error_quark (void)
|
||||||
{
|
{
|
||||||
|
@ -180,7 +180,12 @@ struct _GVariantBuilder {
|
|||||||
gsize x[16];
|
gsize x[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
G_VARIANT_PARSE_ERROR_FAILED
|
||||||
|
} GVariantParseError;
|
||||||
#define G_VARIANT_PARSE_ERROR (g_variant_parser_get_error_quark ())
|
#define G_VARIANT_PARSE_ERROR (g_variant_parser_get_error_quark ())
|
||||||
|
|
||||||
GQuark g_variant_parser_get_error_quark (void);
|
GQuark g_variant_parser_get_error_quark (void);
|
||||||
|
|
||||||
GVariantBuilder * g_variant_builder_new (const GVariantType *type);
|
GVariantBuilder * g_variant_builder_new (const GVariantType *type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user