Function wasmer_vm_alloc_exception

Source
#[no_mangle]
pub unsafe extern "C-unwind" fn wasmer_vm_alloc_exception(
    vmctx: *mut VMContext,
    tag: u32,
) -> u32
Expand description

Implementation for allocating an exception. Returns the exnref, i.e. a handle to the exception within the store.

ยงSafety

The vmctx pointer must be dereferenceable.