1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

doc: fix example of function hashtable_add_to_infolist in plugin API reference

This commit is contained in:
Sebastien Helleu
2011-12-12 11:34:19 +01:00
parent 1234d6c8f7
commit 16bd607142
3 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -3457,10 +3457,10 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
"key1" => "value 1"
"key2" => "value 2"
then following variables will be added to infolist item:
"testhash_name_00001" = "key1"
"testhash_value_00001" = "value 1"
"testhash_name_00002" = "key2"
"testhash_value_00002" = "value 2"
"testhash_name_00000" = "key1"
"testhash_value_00000" = "value 1"
"testhash_name_00001" = "key2"
"testhash_value_00001" = "value 2"
*/
----------------------------------------
+4 -4
View File
@@ -3493,10 +3493,10 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
"cle1" => "valeur 1"
"cle2" => "valeur 2"
alors les variables suivantes seront ajoutées dans l'objet de l'infolist :
"testhash_name_00001" = "cle1"
"testhash_value_00001" = "valeur 1"
"testhash_name_00002" = "cle2"
"testhash_value_00002" = "valeur 2"
"testhash_name_00000" = "cle1"
"testhash_value_00000" = "valeur 1"
"testhash_name_00001" = "cle2"
"testhash_value_00001" = "valeur 2"
*/
----------------------------------------
+4 -4
View File
@@ -3452,10 +3452,10 @@ weechat_hashtable_add_to_infolist (hashtable, infolist_item, "testhash");
"key1" => "value 1"
"key2" => "value 2"
allora le seguenti variabili verranno aggiunti all'elemento della lista info:
"testhash_name_00001" = "key1"
"testhash_value_00001" = "value 1"
"testhash_name_00002" = "key2"
"testhash_value_00002" = "value 2"
"testhash_name_00000" = "key1"
"testhash_value_00000" = "value 1"
"testhash_name_00001" = "key2"
"testhash_value_00001" = "value 2"
*/
----------------------------------------