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 | |
parent | 5244a707cb8bdfc7b19a1505938d5d79b44aef66 (diff) | |
download | weechat-17d20b9ca65d34fa014a1b97aa7afd75f6a04183.zip |
doc: add argument "subplugin" in function unhook_all (plugin API reference)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.asciidoc | 9 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.asciidoc | 9 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.asciidoc | 10 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.asciidoc | 10 |
4 files changed, 30 insertions, 8 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): diff --git a/doc/fr/weechat_plugin_api.fr.asciidoc b/doc/fr/weechat_plugin_api.fr.asciidoc index 8836cc840..e59953951 100644 --- a/doc/fr/weechat_plugin_api.fr.asciidoc +++ b/doc/fr/weechat_plugin_api.fr.asciidoc @@ -10596,14 +10596,19 @@ Prototype : [source,C] ---- -void weechat_unhook_all (); +void weechat_unhook_all (const char *subplugin); ---- +Paramètres : + +* 'subplugin' : si non NULL, décrocher uniquement les "hooks" qui ont ce + "subplugin" défini (ce paramètre n'est pas disponible dans l'API script) + Exemple en C : [source,C] ---- -weechat_unhook_all (); +weechat_unhook_all (NULL); ---- Script (Python) : diff --git a/doc/it/weechat_plugin_api.it.asciidoc b/doc/it/weechat_plugin_api.it.asciidoc index 1dc10d6a4..f922aec0f 100644 --- a/doc/it/weechat_plugin_api.it.asciidoc +++ b/doc/it/weechat_plugin_api.it.asciidoc @@ -10742,14 +10742,20 @@ Prototipo: [source,C] ---- -void weechat_unhook_all (); +void weechat_unhook_all (const char *subplugin); ---- +Argomenti: + +// TRANSLATION MISSING +* 'subplugin': if not NULL, unhook only hooks with this "subplugin" set + (this argument is not available in scripting API) + Esempio in C: [source,C] ---- -weechat_unhook_all (); +weechat_unhook_all (NULL); ---- Script (Python): diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc index c6ac3c9df..51be29960 100644 --- a/doc/ja/weechat_plugin_api.ja.asciidoc +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -10407,14 +10407,20 @@ weechat.unhook(my_hook) [source,C] ---- -void weechat_unhook_all (); +void weechat_unhook_all (const char *subplugin); ---- +引数: + +// TRANSLATION MISSING +* 'subplugin': if not NULL, unhook only hooks with this "subplugin" set + (this argument is not available in scripting API) + C 言語での使用例: [source,C] ---- -weechat_unhook_all (); +weechat_unhook_all (NULL); ---- スクリプト (Python) での使用例: |