pub type XPLMObjectLoaded_f = Option<unsafe extern "C" fn(inObject: XPLMObjectRef, inRefcon: *mut c_void)>;Expand description
XPLMObjectLoaded_f
You provide this callback when loading an object asynchronously; it will be called once the object is loaded. Your refcon is passed back. The object ref passed in is the newly loaded object (ready for use) or NULL if an error occured.
If your plugin is disabled, this callback will be delivered as soon as the plugin is re-enabled. If your plugin is unloaded before this callback is ever called, the SDK will release the object handle for you.
Aliased Type§
pub enum XPLMObjectLoaded_f {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void)),
}