Function wasmedge_sys::ffi::WasmEdge_VMGetStoreContext
source · pub unsafe extern "C" fn WasmEdge_VMGetStoreContext(
Cxt: *mut WasmEdge_VMContext
) -> *mut WasmEdge_StoreContext
Expand description
Get the store context used in the WasmEdge_VMContext.
The returned store context links to the store in the VM context and owned by
the VM context. This function will return NULL if error occurs. The caller
should NOT call the WasmEdge_StoreDelete
.
This function is thread-safe.
\param Cxt the WasmEdge_VMContext.
\returns pointer to the store context.