diff options
Diffstat (limited to 'doc/en/weechat_plugin_api.en.txt')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 14 |
1 files changed, 7 insertions, 7 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): |