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
#[unsafe(no_mangle)] names) with a type implementing SourcePlugin as the sole parameter.