GB_log_callback_t

Type Alias 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§

pub 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.