mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 04:15:49 +01:00
gstrvbuilder: Add a boxed type so it can be introspected properly
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
40e6a09d37
commit
aec0f4d938
@ -154,6 +154,8 @@ G_DEFINE_BOXED_TYPE (GUri, g_uri, g_uri_ref, g_uri_unref)
|
|||||||
G_DEFINE_BOXED_TYPE (GOptionGroup, g_option_group, g_option_group_ref, g_option_group_unref)
|
G_DEFINE_BOXED_TYPE (GOptionGroup, g_option_group, g_option_group_ref, g_option_group_unref)
|
||||||
G_DEFINE_BOXED_TYPE (GPatternSpec, g_pattern_spec, g_pattern_spec_copy, g_pattern_spec_free);
|
G_DEFINE_BOXED_TYPE (GPatternSpec, g_pattern_spec, g_pattern_spec_copy, g_pattern_spec_free);
|
||||||
|
|
||||||
|
G_DEFINE_BOXED_TYPE (GStrvBuilder, g_strv_builder, g_strv_builder_ref, g_strv_builder_unref);
|
||||||
|
|
||||||
/* This one can't use G_DEFINE_BOXED_TYPE (GStrv, g_strv, g_strdupv, g_strfreev) */
|
/* This one can't use G_DEFINE_BOXED_TYPE (GStrv, g_strv, g_strdupv, g_strfreev) */
|
||||||
GType
|
GType
|
||||||
g_strv_get_type (void)
|
g_strv_get_type (void)
|
||||||
|
@ -354,6 +354,15 @@ typedef gsize GType;
|
|||||||
*/
|
*/
|
||||||
#define G_TYPE_DIR (g_dir_get_type ())
|
#define G_TYPE_DIR (g_dir_get_type ())
|
||||||
|
|
||||||
|
/**
|
||||||
|
* G_TYPE_STRV_BUILDER:
|
||||||
|
*
|
||||||
|
* The #GType for a boxed type holding a #GStrvBuilder.
|
||||||
|
*
|
||||||
|
* Since: 2.80
|
||||||
|
*/
|
||||||
|
#define G_TYPE_STRV_BUILDER (g_strv_builder_get_type ())
|
||||||
|
|
||||||
GOBJECT_AVAILABLE_IN_ALL
|
GOBJECT_AVAILABLE_IN_ALL
|
||||||
GType g_date_get_type (void) G_GNUC_CONST;
|
GType g_date_get_type (void) G_GNUC_CONST;
|
||||||
GOBJECT_AVAILABLE_IN_ALL
|
GOBJECT_AVAILABLE_IN_ALL
|
||||||
@ -422,6 +431,8 @@ GOBJECT_AVAILABLE_IN_2_80
|
|||||||
GType g_hmac_get_type (void) G_GNUC_CONST;
|
GType g_hmac_get_type (void) G_GNUC_CONST;
|
||||||
GOBJECT_AVAILABLE_IN_2_80
|
GOBJECT_AVAILABLE_IN_2_80
|
||||||
GType g_dir_get_type (void) G_GNUC_CONST;
|
GType g_dir_get_type (void) G_GNUC_CONST;
|
||||||
|
GOBJECT_AVAILABLE_IN_2_80
|
||||||
|
GType g_strv_builder_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GOBJECT_DEPRECATED_FOR('G_TYPE_VARIANT')
|
GOBJECT_DEPRECATED_FOR('G_TYPE_VARIANT')
|
||||||
GType g_variant_get_gtype (void) G_GNUC_CONST;
|
GType g_variant_get_gtype (void) G_GNUC_CONST;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user