InterfaceInitFunc

typealias InterfaceInitFunc = (gIface: TypeInterface, <Error class: unknown class>?) -> Unit(source)

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.

  • param gIface The interface structure to initialize

  • param ifaceData The @interface_data supplied via the #GInterfaceInfo structure