Type Alias ctru_sys::ExceptionHandler

source ·
pub type ExceptionHandler = Option<unsafe extern "C" fn(excep: *mut ERRF_ExceptionInfo, regs: *mut CpuRegisters)>;
Expand description

Exception handler type, necessarily an ARM function that does not return.

Aliased Type§

enum ExceptionHandler {
    None,
    Some(unsafe extern "C" fn(_: *mut ERRF_ExceptionInfo, _: *mut CpuRegisters)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ERRF_ExceptionInfo, _: *mut CpuRegisters))

Some value of type T.