From 23273bf47a94c759d36584dad7053f0867556869 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 4 Jan 2008 23:13:33 +0100 Subject: Added macros for name/description/author/version/license of plugins --- src/plugins/scripts/ruby/ruby.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/plugins/scripts/ruby') diff --git a/src/plugins/scripts/ruby/ruby.c b/src/plugins/scripts/ruby/ruby.c index 726e9f77f..fdf174c4d 100644 --- a/src/plugins/scripts/ruby/ruby.c +++ b/src/plugins/scripts/ruby/ruby.c @@ -38,9 +38,11 @@ #include "../weechat-script.h" -char plugin_name[] = "Ruby"; -char plugin_version[] = "0.1"; -char plugin_description[] = "Ruby scripts support"; +WEECHAT_PLUGIN_NAME("ruby"); +WEECHAT_PLUGIN_DESCRIPTION("Ruby plugin for WeeChat"); +WEECHAT_PLUGIN_AUTHOR("FlashCode "); +WEECHAT_PLUGIN_VERSION("0.1"); +WEECHAT_PLUGIN_LICENSE("GPL"); t_weechat_plugin *ruby_plugin; -- cgit v1.2.3