gmodule.types

D types for gmodule2 library

Types 4

aliasModuleCheckInit = string delegate(gmodule.module_.Module module_)

Specifies the type of the module initialization function. If a module contains a function named g_module_check_init() it is called automatically when the module is loaded. It is passed the #GModule structure and should return null on success or a string describing the initialization error.

Parameters

module_the #GModule corresponding to the module which has just been loaded

Returns

null on success, or a string describing the initialization error
aliasModuleUnload = void delegate(gmodule.module_.Module module_)

Specifies the type of the module function called when it is unloaded. If a module contains a function named g_module_unload() it is called automatically when the module is unloaded. It is passed the #GModule structure.

Parameters

module_the #GModule about to be unloaded

Variables 4

enumvarMODULE_IMPL_AR = 7
enumvarMODULE_IMPL_DL = 1
enumvarMODULE_IMPL_NONE = 0
enumvarMODULE_IMPL_WIN32 = 3