Type Alias sameboy_sys::GB_log_callback_t

source ·
pub type GB_log_callback_t = Option<unsafe extern "C" fn(gb: *mut GB_gameboy_t, string: *const c_char, attributes: GB_log_attributes)>;

Aliased Type§

enum GB_log_callback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut GB_gameboy_s, _: *const i8, _: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut GB_gameboy_s, _: *const i8, _: u32))

Some value of type T.