XPLMMapCreatedCallback_f

Type Alias XPLMMapCreatedCallback_f 

Source
pub type XPLMMapCreatedCallback_f = Option<unsafe extern "C" fn(mapIdentifier: *const c_char, refcon: *mut c_void)>;
Expand description

XPLMMapCreatedCallback_f

A callback to notify your plugin that a new map has been created in X-Plane. This is the best time to add a custom map layer using XPLMCreateMapLayer().

No OpenGL drawing is permitted within this callback.

Aliased Type§

pub enum XPLMMapCreatedCallback_f {
    None,
    Some(unsafe extern "C" fn(*const i8, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *mut c_void))

Some value of type T.