mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Add a boxed type for GError
Patch by Sebastian Dröge, bug 614541
This commit is contained in:
@@ -202,6 +202,14 @@ GType g_boxed_type_register_static (const gchar *name,
|
||||
* Since: 2.24
|
||||
*/
|
||||
#define G_TYPE_VARIANT (g_variant_get_gtype ())
|
||||
/**
|
||||
* G_TYPE_ERROR:
|
||||
*
|
||||
* The #GType for a boxed type holding a #GError.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
#define G_TYPE_ERROR (g_error_get_type ())
|
||||
|
||||
|
||||
void g_value_take_boxed (GValue *value,
|
||||
@@ -223,6 +231,7 @@ GType g_ptr_array_get_type (void) G_GNUC_CONST;
|
||||
GType g_variant_type_get_gtype(void) G_GNUC_CONST;
|
||||
GType g_variant_get_gtype (void) G_GNUC_CONST;
|
||||
GType g_regex_get_type (void) G_GNUC_CONST;
|
||||
GType g_error_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/**
|
||||
* GStrv:
|
||||
|
Reference in New Issue
Block a user