#[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
.
#[no_mangle]
pub extern "C" fn wasmi_error_new(
msg: *const c_char,
) -> Option<Box<wasmi_error_t>>
Creates a new wasmi_error_t
with the given error message.
Wraps wasmi::Error::new
.