api: add support for C++ plugins
This commit is contained in:
parent
414656675e
commit
652653ff82
@ -27,6 +27,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* core: fix truncated prefix when filters are toggled (bug #40204)
|
||||
* core: add options to customize default text search in buffers:
|
||||
weechat.look.buffer_search_{case_sensitive|force_default|regex|where}
|
||||
* api: add support for C++ plugins
|
||||
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
|
||||
* irc: fix groups in channel nicklist when reconnecting to a server that
|
||||
supports more nick prefixes than the previously connected server
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user