Type Alias simics_api_sys::break_string_cb_t

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

Callback function used by the string breakpoint system, called when the associated string breakpoint has matched. The obj parameter is the console where the breakpoint matched, str is the break string that matched, break_id is the associated breakpoint id, returned by the add or add_single method in the break_strings interface, and arg is the callback data passed to that method. The return value is ignored.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.