diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-24 09:25:04 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-03-24 09:25:04 +0100 |
commit | 17d20b9ca65d34fa014a1b97aa7afd75f6a04183 (patch) | |
tree | 2edb4a937cd51192c95719316b4268ccebf17f5a /doc/en | |
parent | 5244a707cb8bdfc7b19a1505938d5d79b44aef66 (diff) | |
download | weechat-17d20b9ca65d34fa014a1b97aa7afd75f6a04183.zip |
doc: add argument "subplugin" in function unhook_all (plugin API reference)
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.asciidoc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.asciidoc b/doc/en/weechat_plugin_api.en.asciidoc index cbac91cb2..1c9e757c8 100644 --- a/doc/en/weechat_plugin_api.en.asciidoc +++ b/doc/en/weechat_plugin_api.en.asciidoc @@ -10393,14 +10393,19 @@ Prototype: [source,C] ---- -void weechat_unhook_all (); +void weechat_unhook_all_plugin (const char *subplugin); ---- +Arguments: + +* 'subplugin': if not NULL, unhook only hooks with this "subplugin" set + (this argument is not available in scripting API) + C example: [source,C] ---- -weechat_unhook_all (); +weechat_unhook_all (NULL); ---- Script (Python): |