Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::Extension::Implementation::Plugin::unload ( Inkscape::Extension::Extension module  )  [virtual]

No one is interested in this plugin for now. It is removed to save memory.

Parameters:
module The module of this implementation, passed to unload.
Returns:
None.
Call the unload function of the plugin, then delete the symbol table and the module itself. Put everything back to NULL.

Reimplemented from Inkscape::Extension::Implementation::Implementation.

Definition at line 131 of file plugin.cpp.

References _module, _symTable, and inkscape_plugin_function_table::unload.

{
    _symTable->unload((inkscape_extension *)module);
    _symTable = NULL;
    delete _module;
    _module = NULL;
    return;
}


Generated by  Doxygen 1.6.0   Back to index