Type Alias fnDecodeArmInstCB

Source
pub type fnDecodeArmInstCB = Option<unsafe extern "C" fn(lib_context: *const c_void, instr_info: *mut ocsd_instr_info) -> ocsd_err_t>;
Expand description

callback function to connect an ARM instruction decoder Implements IInstrDecode::DecodeInstruction with addition of library context pointer.

Aliased Type§

enum fnDecodeArmInstCB {
    None,
    Some(unsafe extern "C" fn(*const c_void, *mut _ocsd_instr_info) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *mut _ocsd_instr_info) -> u32)

Some value of type T.