Type Alias ctru_sys::ndspCallback

source ·
pub type ndspCallback = Option<unsafe extern "C" fn(data: *mut c_void)>;
Expand description

Sound frame callback function. (data = User provided data)

Aliased Type§

enum ndspCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.