Macro export_plugin

Source
macro_rules! export_plugin {
    ($plugin_type:ty) => { ... };
}
Expand description

Macro to export the plugin’s create function.

This macro defines the create_plugin function that is used to instantiate the plugin from a dynamic library.

§Example

export_plugin!(MyPlugin);