Type Alias sameboy_sys::GB_sample_callback_t

source ·
pub type GB_sample_callback_t = Option<unsafe extern "C" fn(gb: *mut GB_gameboy_t, sample: *mut GB_sample_t)>;

Aliased Type§

enum GB_sample_callback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut GB_gameboy_s, _: *mut GB_sample_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut GB_gameboy_s, _: *mut GB_sample_t))

Some value of type T.