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/en/weechat_plugin_api.en.adoc | |
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/en/weechat_plugin_api.en.adoc')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 4ef7eb658..9a3b67636 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -14639,6 +14639,7 @@ Arguments: * _buffer_: buffer pointer * _property_: property name: +** _id_: unique identifier _(WeeChat ≥ 4.3.0)_ ** _plugin_: name of plugin which created this buffer ("core" for WeeChat main buffer) ** _name_: name of buffer ** _full_name_: full name of buffer ("plugin.name") _(WeeChat ≥ 0.3.7)_ |