Type Alias wren_sys::WrenErrorFn

source ·
pub type WrenErrorFn = Option<unsafe extern "C" fn(vm: *mut WrenVM, type_: WrenErrorType, module: *const c_char, line: c_int, message: *const c_char)>;

Aliased Type§

enum WrenErrorFn {
    None,
    Some(unsafe extern "C" fn(_: *mut WrenVM, _: u32, _: *const i8, _: i32, _: *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut WrenVM, _: u32, _: *const i8, _: i32, _: *const i8))

Some value of type T.