Crate scotch_guest

Source

Macros§

export_alloc
Includes allocation utils for the host. Plugin will not work without it. You need to put it somewhere in your plugin crate.

Type Aliases§

MemoryType
Pointer size. Can be u32 or u64.

Attribute Macros§

guest_function
Macro used to annotate guest functions that should be exposed to the host.
host_functions
Macro used to annotate extern blocks that contain plugin imports.