Type Alias msp_status_ntf_handler

Source
pub type msp_status_ntf_handler = Option<unsafe extern "C" fn(type_: c_int, status: c_int, param1: c_int, param2: *const c_void, userData: *mut c_void)>;
Expand description

@fn MSPRegisterNotify @brief Register a Callback

Register a Callback

@return int - @param msp_status_ntf_handler statusCb - [in] notify handler @param void *userData - [in] userData @see

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.