Type Alias hirofa_quickjs_sys::JSInterruptHandler

source ·
pub type JSInterruptHandler = Option<unsafe extern "C" fn(rt: *mut JSRuntime, opaque: *mut c_void) -> c_int>;

Aliased Type§

enum JSInterruptHandler {
    None,
    Some(unsafe extern "C" fn(_: *mut JSRuntime, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSRuntime, _: *mut c_void) -> i32)

Some value of type T.