diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-06-18 09:06:56 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-06-18 09:06:56 +0200 |
commit | 3b4d9156e28295d3ab03a8db813e13b5295fdff3 (patch) | |
tree | 5e57eda832a88c4f09e4b3b73b847b3d74fe48c0 /doc/en | |
parent | 20c86db0d8dfc67c34cd4a2ca178bc05e6e04866 (diff) | |
download | weechat-3b4d9156e28295d3ab03a8db813e13b5295fdff3.zip |
doc: add note about function printf_date_tags in function printf (plugin API reference)
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 4b27cb9d6..fbf8f48a0 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -6842,6 +6842,15 @@ Prototype: void weechat_printf (struct t_gui_buffer *buffer, const char *message, ...); ---- +This function is a shortcut for function printf_date_tags. These two calls give +exactly same result: + +[source,C] +---- +weechat_printf (buffer, "message"); +weechat_printf_date_tags (buffer, 0, NULL, "message"); +---- + Arguments: * _buffer_: buffer pointer, if NULL, message is displayed on WeeChat buffer |