pub type cpu_callback_free_user_data_cb_t = Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t, user_data: *mut lang_void)>;
Expand description
cpu_callback_free_user_data_cb_t cpu_callback_free_user_data_cb_t cpu_callback_free_user_data_cb_t

Callback function registered through the cpu_cached_instruction interface to free instruction specific user data when the instruction is not being cached anymore. The user_data is the pointer to the callback data. obj is the connection object and cpu is the processor that the callback was registered for.

Aliased Type§

enum cpu_callback_free_user_data_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object, _: *mut c_void))

Some value of type T.