doc: fix examples with localvar_del
parent
d6977490d0
commit
dd440b6805
|
@ -11369,7 +11369,7 @@ weechat_buffer_set (my_buffer, "name", "my_new_name");
|
|||
weechat_buffer_set (my_buffer, "localvar_set_toto", "abc");
|
||||
|
||||
/* remove local variable "toto" */
|
||||
weechat_buffer_set (my_buffer, "localvar_del_toto", NULL);
|
||||
weechat_buffer_set (my_buffer, "localvar_del_toto", "");
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
|
|
@ -11622,7 +11622,7 @@ weechat_buffer_set (mon_tampon, "name", "nouveau_nom");
|
|||
weechat_buffer_set (mon_tampon, "localvar_set_toto", "abc");
|
||||
|
||||
/* supprimer la variable locale "toto" */
|
||||
weechat_buffer_set (mon_tampon, "localvar_del_toto", NULL);
|
||||
weechat_buffer_set (mon_tampon, "localvar_del_toto", "");
|
||||
----
|
||||
|
||||
Script (Python) :
|
||||
|
|
|
@ -11794,7 +11794,7 @@ weechat_buffer_set (my_buffer, "name", "my_new_name");
|
|||
weechat_buffer_set (my_buffer, "localvar_set_tizio", "abc");
|
||||
|
||||
/* rimuove la variabile locale "tizio" */
|
||||
weechat_buffer_set (my_buffer, "localvar_del_tizio", NULL);
|
||||
weechat_buffer_set (my_buffer, "localvar_del_tizio", "");
|
||||
----
|
||||
|
||||
Script (Python):
|
||||
|
|
|
@ -11372,7 +11372,7 @@ weechat_buffer_set (my_buffer, "name", "my_new_name");
|
|||
weechat_buffer_set (my_buffer, "localvar_set_toto", "abc");
|
||||
|
||||
/* remove local variable "toto" */
|
||||
weechat_buffer_set (my_buffer, "localvar_del_toto", NULL);
|
||||
weechat_buffer_set (my_buffer, "localvar_del_toto", "");
|
||||
----
|
||||
|
||||
スクリプト (Python) での使用例:
|
||||
|
|
Loading…
Reference in New Issue