summaryrefslogtreecommitdiff
path: root/src/plugins/ruby/weechat-ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ruby/weechat-ruby.h')
-rw-r--r--src/plugins/ruby/weechat-ruby.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/ruby/weechat-ruby.h b/src/plugins/ruby/weechat-ruby.h
index 3cb8010af..938944759 100644
--- a/src/plugins/ruby/weechat-ruby.h
+++ b/src/plugins/ruby/weechat-ruby.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
+ * Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
* Copyright (C) 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
*
* This file is part of WeeChat, the extensible chat client.
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef WEECHAT_RUBY_H
-#define WEECHAT_RUBY_H 1
+#ifndef WEECHAT_PLUGIN_RUBY_H
+#define WEECHAT_PLUGIN_RUBY_H
#define weechat_plugin weechat_ruby_plugin
#define RUBY_PLUGIN_NAME "ruby"
@@ -28,6 +28,8 @@
extern struct t_weechat_plugin *weechat_ruby_plugin;
+extern struct t_plugin_script_data ruby_data;
+
extern int ruby_quiet;
extern struct t_plugin_script *ruby_scripts;
extern struct t_plugin_script *last_ruby_script;
@@ -45,4 +47,4 @@ void *weechat_ruby_exec (struct t_plugin_script *script,
int ret_type, const char *function,
const char *format, void **argv);
-#endif /* WEECHAT_RUBY_H */
+#endif /* WEECHAT_PLUGIN_RUBY_H */