Crate binmod_mdk

Crate binmod_mdk 

Source

Structs§

ModuleFnErr
ModuleFnInput
ModuleFnReturn

Enums§

ModuleFnResult

Functions§

deserialize_from_ptr
guest_alloc
guest_dealloc
pack_ptr
serialize_to_ptr
unpack_ptr

Type Aliases§

FnResult

Attribute Macros§

host_fns
This macro is used to define the expected host functions that are accessible to the module. It takes an optional namespace argument to specify the namespace of the host functions. If not provided, it defaults to “env”.
mod_fn
This macro is used to define a module function for the ABI. It takes an optional name argument to specify the exported function name.