pub type burn_abort_handler_t = Option<unsafe extern "C" fn(handle: *mut c_void, signum: c_int, flag: c_int) -> c_int>;Expand description
The prototype of a handler function suitable for burn_set_signal_handling() Such a function has to return -2 if it does not want the process to exit with value 1.
Aliased Type§
pub enum burn_abort_handler_t {
None,
Some(unsafe extern "C" fn(*mut c_void, i32, i32) -> i32),
}