Module core

Module core 

Source
Expand description

Core entrypoints shared by all module types

Structs§

AllocStats
Type for the data pointed to by the return value of ark_get_alloc_stats.

Constants§

ALLOC
FREE
GET_ALLOC_STATS
INITIALIZE
REGISTER_PANIC_HOOK

Type Aliases§

AllocFn
ark_alloc - Allocate a raw buffer in the module
FreeFn
ark_free - Free a raw buffer in the module
GetAllocStatsFn
ark_get_alloc_stats - Returns a pointer into Wasm memory to an instance of the AllocStats data structure.
InitializeFn
ark_initialize - Initialize module
RegisterPanicHookFn
ark_register_panic_hook - Register module specific panic hook