[][src]Macro hexchat::plugin

macro_rules! plugin {
    ($x:ty) => { ... };
}

This macro will set up your plugin's actual callability from HexChat.

Example

use hexchat::{Plugin, plugin}
struct MyPlugin;
impl Plugin for MyPlugin {
    //...
}
plugin!(MyPlugin);