doc: add argument "subplugin" in function unhook_all (plugin API reference)
parent
5244a707cb
commit
17d20b9ca6
|
@ -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):
|
||||
|
|
|
@ -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) :
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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) での使用例:
|
||||
|
|
Loading…
Reference in New Issue