Type Alias ctru_sys::aptMessageCb

source ·
pub type aptMessageCb = Option<unsafe extern "C" fn(user: *mut c_void, sender: NS_APPID, msg: *mut c_void, msgsize: usize)>;
Expand description

APT message callback.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.