VISH
0.2
|
Initialization: Each Plugin should (MacOS: Must) contain a function. More...
#include </home/werner/origo/vish/ocean/plankton/VInit.hpp>
Initialization: Each Plugin should (MacOS: Must) contain a function.
VISH_INITIALIZER bool VISH_XXXXXXXX(VInitialization*VInit) { return VInit->IsCompatible(); }
where XXXXXXXX is is the name of the plugin, i.e. the file name of the compiled binary. This module initialization function is be called after loading the module as shared library. It should furthermore set all the elements of the VInit parameter to meaningful values that allow the user to deal conveniently with the module.