diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 14 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 436b58169..607c35311 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -12433,10 +12433,10 @@ C example: ---------------------------------------- char buffer[256]; /* ... */ -struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item, - "my_buffer", - &buffer, - sizeof (buffer)); +struct t_infolist_var *var = weechat_infolist_new_var_buffer (item, + "my_buffer", + &buffer, + sizeof (buffer)); ---------------------------------------- [NOTE] @@ -12470,9 +12470,9 @@ C example: [source,C] ---------------------------------------- -struct t_infolist_var *var = weechat_infolist_new_variable_time (item, - "my_time", - time (NULL)); +struct t_infolist_var *var = weechat_infolist_new_var_time (item, + "my_time", + time (NULL)); ---------------------------------------- Script (Python): diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 85fe96ba1..d50e02c61 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -12591,10 +12591,10 @@ Esempio in C: ---------------------------------------- char buffer[256]; /* ... */ -struct t_infolist_var *var = weechat_infolist_new_variable_buffer (item, - "my_buffer", - &buffer, - sizeof (buffer)); +struct t_infolist_var *var = weechat_infolist_new_var_buffer (item, + "my_buffer", + &buffer, + sizeof (buffer)); ---------------------------------------- [NOTE] @@ -12628,9 +12628,9 @@ Esempio in C: [source,C] ---------------------------------------- -struct t_infolist_var *var = weechat_infolist_new_variable_time (item, - "my_time", - time (NULL)); +struct t_infolist_var *var = weechat_infolist_new_var_time (item, + "my_time", + time (NULL)); ---------------------------------------- Script (Python): |