XPLMDataChanged_f

Type Alias XPLMDataChanged_f 

Source
pub type XPLMDataChanged_f = Option<unsafe extern "C" fn(inRefcon: *mut c_void)>;
Expand description

XPLMDataChanged_f

An XPLMDataChanged_f is a callback that the XPLM calls whenever any other plug-in modifies shared data. A refcon you provide is passed back to help identify which data is being changed. In response, you may want to call one of the XPLMGetDataxxx routines to find the new value of the data.

Aliased Type§

pub enum XPLMDataChanged_f {
    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.