Expand description
Raw bindings to the Anvil plugin API 2 (include/anvil/anvil_plugin.h).
The items of bindings.rs are generated by bindgen; this file adds what a
header cannot say: the type of the one function a plugin exports and
compile-time checks of the layouts the host and the plugin share.
Structs§
Constants§
- ANVIL_
API_ VERSION - ANVIL_
ERROR_ ALREADY_ EXISTS - ANVIL_
ERROR_ BYTES_ MISMATCH - ANVIL_
ERROR_ CONFLICT - ANVIL_
ERROR_ INTERNAL - ANVIL_
ERROR_ INVALID_ ARGUMENT - ANVIL_
ERROR_ NOT_ DECLARED - ANVIL_
ERROR_ NOT_ FOUND - ANVIL_
ERROR_ OUT_ OF_ MEMORY - ANVIL_
ERROR_ UNSAFE_ SITE - ANVIL_
ERROR_ UNSUPPORTED - ANVIL_
ERROR_ WRONG_ KIND - ANVIL_
ERROR_ WRONG_ PHASE - ANVIL_
EVENT_ PLUGINS_ LOADED - ANVIL_
EVENT_ RESUMED - ANVIL_
EVENT_ SUSPENDED - ANVIL_
LOG_ DEBUG - ANVIL_
LOG_ ERROR - ANVIL_
LOG_ INFO - ANVIL_
LOG_ WARNING - ANVIL_
OK
Type Aliases§
- Anvil
CpuCallback - Anvil
Event Callback - Anvil
LogLevel - Anvil
Plugin Load Fn - 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(…). - Anvil
Result - Anvil
Setting - Anvil
Setting Callback - Anvil
Symbol - wchar_t