[ CCode ( instance_pos = 1.9 ) ]
public delegate bool PluginInitFullFunc (Plugin plugin)
A plugin should provide a pointer to a function of either PluginInitFunc or this type in the plugin_desc struct.
The function will be called by the loader at startup. One would then register each PluginFeature. This version allows user data to be passed to init function (useful for bindings).
plugin |
The plugin object |
user_data |
extra data |
|