ModuleCheckInit


Description:

[ CCode ( has_target = false ) ]
public delegate unowned string ModuleCheckInit (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 Module structure and should return null on success or a string describing the initialization error.

Parameters:

module

the Module corresponding to the module which has just been loaded

Returns:

null on success, or a string describing the initialization error


Namespace: GLib
Package: gmodule-2.0