Skip to main content

plugin

Macro plugin 

Source
macro_rules! plugin {
    ($run:path) => { ... };
    ($run:path, kind = $kind:literal) => { ... };
    ($run:path, $lang:literal, kind = $kind:literal) => { ... };
    ($run:path, $lang:literal) => { ... };
    (@export $run:path, $info:expr) => { ... };
}
Expand description

Export the plugin ABI for a fn(&Host) -> Result<View> (and the language it came from).