macro_rules! declare_execution_plugin { ($plugin_type:ty, $constructor:path) => { ... }; }
Expand description
Declare a plugin type and its constructor.
Notes
This works by automatically generating an extern "C"
function with a
pre-defined signature and symbol name. Therefore you will only be able to
declare one plugin per library.