Skip to main content

instr_label_callback_t

Type Alias instr_label_callback_t 

Source
pub type instr_label_callback_t = Option<unsafe extern "C" fn(drcontext: *mut c_void, instr: *mut instr_t)>;
Expand description

Label instruction callback function. Set by instr_set_label_callback() and called when the label is freed. \p instr is the label instruction allowing the caller to free the label’s auxiliary data.

Aliased Type§

pub enum instr_label_callback_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut instr_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut instr_t))

Some value of type T.