pub type InterruptHandler = Option<unsafe extern "C" fn(*mut JsRuntime, *mut c_void) -> c_int>;Expand description
JSInterruptHandler: return non-zero to abort the running script.
Aliased Type§
pub enum InterruptHandler {
None,
Some(unsafe extern "C" fn(*mut JsRuntime, *mut c_void) -> i32),
}