ModuleCheckInit

typealias ModuleCheckInit = (module: Module) -> String(source)

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.

  • param module the #GModule corresponding to the module which has just been loaded

  • return null on success, or a string describing the initialization error