pub type GInterfaceInitFunc = Option<unsafe extern "C" fn(g_iface: gpointer, iface_data: gpointer)>;
Expand description
GInterfaceInitFunc: @g_iface: (type GObject.TypeInterface): The interface structure to initialize @iface_data: The @interface_data supplied via the #GInterfaceInfo structure
A callback function used by the type system to initialize a new interface.
This function should initialize all internal data and* allocate any resources required by the interface.
The members of @iface_data are guaranteed to have been filled with zeros before this function is called.
Aliased Type§
enum GInterfaceInitFunc {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void)),
}