wasm_trap_new

Function wasm_trap_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_trap_new( _store: &wasm_store_t, message: &wasm_message_t, ) -> Box<wasm_trap_t>
Expand description

Creates a new wasm_trap_t for the wasm_store_t with the given message.

ยงNote

The message is expected to contain a valid null-terminated C string.