Skip to main content

export_plugin

Macro export_plugin 

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

Export the #[unsafe(no_mangle)] functions required by the shell.

params_ptr is a raw Arc<Params> pointer from the shell. The plugin receives shared params - one copy, no sync.