doc: add argument "subplugin" in function unhook_all (plugin API reference)

v2.8-utf8proc
Sébastien Helleu 2016-03-24 09:25:04 +01:00
parent 5244a707cb
commit 17d20b9ca6
4 changed files with 30 additions and 8 deletions

View File

@ -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):

View File

@ -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) :

View File

@ -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):

View File

@ -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) での使用例: