Skip to main content

AnvilPluginLoadFn

Type Alias AnvilPluginLoadFn 

Source
pub type AnvilPluginLoadFn = unsafe extern "C" fn(host: *const AnvilHost, self_: *mut AnvilPlugin) -> AnvilResult;
Expand description

The type of anvil_plugin_load, which every plugin exports (extern "C", not mangled): #[unsafe(no_mangle)] pub unsafe extern "C" fn anvil_plugin_load(…).