Type.addInterfaceCheck

Adds a function to be called after an interface vtable is initialized for any class (i.e. after the interface_init member of GInterfaceInfo has been called). This function is useful when you want to check an invariant that depends on the interfaces of a class. For instance, the implementation of GObject uses this facility to check that an object implements all of the properties that are defined on its interfaces. Since 2.4

class Type
static
void
addInterfaceCheck

Parameters

checkData void*

data to pass to check_func

checkFunc GTypeInterfaceCheckFunc

function to be called after each interface is initialized.

Meta