Macro source_plugin

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

ยงRegister a source plugin

This macro must be called at most once in a crate (it generates public functions with fixed #[no_mangle] names) with a type implementing SourcePlugin as the sole parameter.