mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
regex: Remove --disable-regex option
https://bugzilla.gnome.org/show_bug.cgi?id=622149
This commit is contained in:
committed by
Matthias Clasen
parent
3e7f42654f
commit
d70634526d
@@ -132,13 +132,8 @@ G_DEFINE_BOXED_TYPE (GPtrArray, g_ptr_array,g_ptr_array_ref, g_ptr_array_unref)
|
||||
G_DEFINE_BOXED_TYPE (GByteArray, g_byte_array, g_byte_array_ref, g_byte_array_unref)
|
||||
G_DEFINE_BOXED_TYPE (GBytes, g_bytes, g_bytes_ref, g_bytes_unref);
|
||||
|
||||
#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
|
||||
G_DEFINE_BOXED_TYPE (GVariantType, g_variant_type, g_variant_type_copy, g_variant_type_free)
|
||||
|
Reference in New Issue
Block a user