Type Alias simics_api_sys::bindings::gfx_break_cb_t

source ·
pub type gfx_break_cb_t = Option<unsafe extern "C" fn(obj: *mut conf_object_t, break_id: int64, arg: *mut lang_void) -> c_int>;
Expand description
gfx_break_cb_t gfx_break_cb_t gfx_break_cb_t

Callback function used by the graphics breakpoint system, called when the associated graphical breakpoint has matched. The obj parameter is the graphics console where the breakpoint matched, break_id is the associated breakpoint id, returned by the add method in the gfx_break interface, and arg is the callback data passed to that method.

Aliased Type§

enum gfx_break_cb_t {
    None,
    Some(unsafe extern "C" fn(_: *mut conf_object, _: i64, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut conf_object, _: i64, _: *mut c_void) -> i32)

Some value of type T.