Function wasmi_c_api::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.