[−][src]Macro weechat_macro::plugin
plugin!() { /* proc-macro */ }
Register a struct that implements the Plugin
trait as a Weechat plugin.
This configures the Weechat init and end method as well as additonal plugin metadata.
Example
plugin!( SamplePlugin, name: "rust_sample", author: "poljar", description: "", version: "0.1.0", license: "MIT" );