pub type VSInitPlugin = unsafe extern "system-unwind" fn(plugin: *mut VSPlugin, vspapi: *const VSPLUGINAPI);Expand description
A plugin’s entry point. It must be called VapourSynthPluginInit2.
This function is called after the core loads the shared library.
Its purpose is to configure the plugin and to register the filters the plugin wants to export.
§Arguments
plugin- A pointer to the plugin object to be initialized.vspapi- A pointer to aVSPLUGINAPIstruct with a subset of theVapourSynthAPI used for initializing plugins. The proper way to do things is to callconfigPluginand thenregisterFunctionfor each function to export.