diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-07 07:13:39 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-12 20:37:36 +0100 |
commit | 4ffd62b2065358ad4aad702d916b0d717453824b (patch) | |
tree | e1ed9b0408065eb7ff490b826c6156b11f17e483 /doc/sr | |
parent | afc4dff71bce4c4f199567956b7fdb2194a5002b (diff) | |
download | weechat-4ffd62b2065358ad4aad702d916b0d717453824b.zip |
core: add unique "id" in buffer (issue #2081)
The id is a "long long" variable with the current time (microseconds
precision).
It is guaranteed to be unique for all buffers, and the same number is never
used again, during the lifetime of the process.
It persists and is unchanged after `/upgrade`.
Diffstat (limited to 'doc/sr')
-rw-r--r-- | doc/sr/weechat_plugin_api.sr.adoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index eae7b8cc4..10bf970a6 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -14222,6 +14222,8 @@ const char *weechat_buffer_get_string (struct t_gui_buffer *buffer, * _buffer_: показивач на бафер * _property_: име особине: +// TRANSLATION MISSING +** _id_: unique identifier _(WeeChat ≥ 4.3.0)_ ** _plugin_: име додатка који је креирао овај бафер („core” за главни бафер програма WeeChat) ** _name_: име бафера ** _full_name_: пуно име бафера („додатак.име”) _(WeeChat ≥ 0.3.7)_ |