wasmi_error_new

Function wasmi_error_new 

Source
#[unsafe(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.