Macro xplm::xplane_plugin

source ·
macro_rules! xplane_plugin {
    ($plugin_type: ty) => { ... };
}
Expand description

Creates an X-Plane plugin

Provide the name of your plugin struct. The callbacks that X-Plane uses will be created.

Creating a plugin involves three steps:

  1. Create a struct for your plugin
  2. Implement Plugin for your plugin struct
  3. Place xplane_plugin!(YourPluginStruct) in a file, not in any function