mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-30 21:04:13 +02:00
Add g_type_get_type_registration_serial()
This lets you cache type lookup information and then know when the cache information is out of date. In particular, we want this in order to be able to cache g_type_from_name() lookups in the Gtk+ theme machinery. https://bugzilla.gnome.org/show_bug.cgi?id=689847
This commit is contained in:
@@ -1263,6 +1263,9 @@ gpointer g_type_class_get_private (GTypeClass *klass,
|
||||
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
void g_type_ensure (GType type);
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
guint g_type_get_type_registration_serial (void);
|
||||
|
||||
|
||||
/* --- GType boilerplate --- */
|
||||
/**
|
||||
|
Reference in New Issue
Block a user