1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

api: add support for C++ plugins

This commit is contained in:
stfn
2013-11-09 13:47:13 +01:00
committed by Sebastien Helleu
parent 414656675e
commit 652653ff82
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -22,6 +22,10 @@
#ifndef __WEECHAT_WEECHAT_PLUGIN_H
#define __WEECHAT_WEECHAT_PLUGIN_H 1
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
/* some systems like GNU/Hurd do not define PATH_MAX */
@@ -1722,4 +1726,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
#define weechat_upgrade_close(__upgrade_file) \
weechat_plugin->upgrade_close(__upgrade_file)
#ifdef __cplusplus
}
#endif
#endif /* __WEECHAT_WEECHAT_PLUGIN_H */