Function wasmedge_sys::ffi::WasmEdge_StoreCreate
source · pub unsafe extern "C" fn WasmEdge_StoreCreate(
) -> *mut WasmEdge_StoreContext
Expand description
Creation of the WasmEdge_StoreContext.
The caller owns the object and should call WasmEdge_StoreDelete
to destroy
it.
The store is the linker for multiple WASM module instances. The store will
not own any module instance registered into it, and the module instances
will automatically be unregistered if they are destroyed.
\returns pointer to context, NULL if failed.