Function

GObjectInterfaceInitFunc

Declaration

void
(* GInterfaceInitFunc) (
  GObjectTypeInterface* g_iface,
  gpointer iface_data
)

Description [src]

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.

Parameters

g_iface GTypeInterface
 

The interface structure to initialize.

 The data is owned by the caller of the function.
iface_data gpointer
 

The interface_data supplied via the GInterfaceInfo structure.