summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-03-24 09:25:04 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-03-24 09:25:04 +0100
commit17d20b9ca65d34fa014a1b97aa7afd75f6a04183 (patch)
tree2edb4a937cd51192c95719316b4268ccebf17f5a /doc/it
parent5244a707cb8bdfc7b19a1505938d5d79b44aef66 (diff)
downloadweechat-17d20b9ca65d34fa014a1b97aa7afd75f6a04183.zip
doc: add argument "subplugin" in function unhook_all (plugin API reference)
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/weechat_plugin_api.it.asciidoc10
1 files changed, 8 insertions, 2 deletions
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):