pub unsafe fn run_with(
abi_version: u32,
run: PluginRun,
host: &mut dyn Host,
) -> i32Expand description
Run run (a loaded plugin’s run function) with host behind a host table that says
abi_version. Returns the plugin’s code (crate::abi::RUN_OK, RUN_ERROR,
RUN_PANIC, or anything else it returned).
§Safety
run must be a run function the application loaded and approved (see
crate::approved), of the ABI the table’s version says; it runs as native code with
the process’s rights.