wasmi_c_api

Function wasmi_error_new

source
#[no_mangle]
pub extern "C" fn wasmi_error_new(
    msg: *const c_char,
) -> Option<Box<wasmi_error_t>>
Expand description

Creates a new wasmi_error_t with the given error message.

Wraps wasmi::Error::new.