diff options
author | Christian Persch <chpe@gnome.org> | 2011-06-23 18:31:29 +0200 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2011-06-24 01:03:50 +0200 |
commit | 316efa1b5d88f91df9d3384bfb1b0dd37134405d (patch) | |
tree | 5e885b740f557f6581233165494c5c184f0cfe11 /gobject | |
parent | 00afe3fed340cb87b638aaafa01a2829cb60efba (diff) |
Add boxed GType for GMatchInfo
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/gboxed.c | 2 | ||||
-rw-r--r-- | gobject/glib-types.h | 10 | ||||
-rw-r--r-- | gobject/gobject.symbols | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gobject/gboxed.c b/gobject/gboxed.c index 6fa8f2631..02da78a4e 100644 --- a/gobject/gboxed.c +++ b/gobject/gboxed.c @@ -130,8 +130,10 @@ G_DEFINE_BOXED_TYPE (GByteArray, g_byte_array, g_byte_array_ref, g_byte_array_un #ifdef ENABLE_REGEX G_DEFINE_BOXED_TYPE (GRegex, g_regex, g_regex_ref, g_regex_unref) +G_DEFINE_BOXED_TYPE (GMatchInfo, g_match_info, g_match_info_ref, g_match_info_unref) #else GType g_regex_get_type (void) { return G_TYPE_INVALID; } +GType g_match_info_get_type (void) { return G_TYPE_INVALID; } #endif /* ENABLE_REGEX */ #define g_variant_type_get_type g_variant_type_get_gtype diff --git a/gobject/glib-types.h b/gobject/glib-types.h index f4c69809a..1f3eb0fdf 100644 --- a/gobject/glib-types.h +++ b/gobject/glib-types.h @@ -97,6 +97,15 @@ typedef gsize GType; #define G_TYPE_REGEX (g_regex_get_type ()) /** + * G_TYPE_MATCH_INFO: + * + * The #GType for a boxed type holding a #GMatchInfo reference. + * + * Since: 2.30 + */ +#define G_TYPE_MATCH_INFO (g_match_info_get_type ()) + +/** * G_TYPE_ARRAY: * * The #GType for a boxed type holding a #GArray reference. @@ -182,6 +191,7 @@ GType g_byte_array_get_type (void) G_GNUC_CONST; GType g_ptr_array_get_type (void) G_GNUC_CONST; GType g_variant_type_get_gtype (void) G_GNUC_CONST; GType g_regex_get_type (void) G_GNUC_CONST; +GType g_mach_info_get_type (void) G_GNUC_CONST; GType g_error_get_type (void) G_GNUC_CONST; GType g_date_time_get_type (void) G_GNUC_CONST; GType g_io_channel_get_type (void) G_GNUC_CONST; diff --git a/gobject/gobject.symbols b/gobject/gobject.symbols index de410539a..55494ab65 100644 --- a/gobject/gobject.symbols +++ b/gobject/gobject.symbols @@ -24,6 +24,7 @@ g_byte_array_get_type g_error_get_type g_ptr_array_get_type g_regex_get_type +g_match_info_get_type g_variant_builder_get_type g_variant_type_get_gtype g_closure_get_type |