mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gtype: Add g_type_interface_instantiable_prerequisite()
There is (at most) a single GType that is instantiable and a prerequisite for an interface. This function returns that type. This type is necessary in particular when dealing with GValues because a GValue contains an instance of a type.
This commit is contained in:
@@ -1304,6 +1304,9 @@ void g_type_interface_add_prerequisite (GType interface_type,
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType*g_type_interface_prerequisites (GType interface_type,
|
||||
guint *n_prerequisites);
|
||||
GLIB_AVAILABLE_IN_2_64
|
||||
GType g_type_interface_instantiable_prerequisite
|
||||
(GType interface_type);
|
||||
GLIB_DEPRECATED_IN_2_58
|
||||
void g_type_class_add_private (gpointer g_class,
|
||||
gsize private_size);
|
||||
|
Reference in New Issue
Block a user