diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-25 13:39:11 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-09-27 15:50:43 +0200 |
commit | e7b6e8c60f0001c4b228bda570ec0d1b7dc3a739 (patch) | |
tree | 2c1c1b9814fe64f456c5dfefb76ecc8d5dc0c4a9 /doc/en | |
parent | 4d74a89cfcdce4d9207f51c786a2a1fc278c5a11 (diff) | |
download | weechat-e7b6e8c60f0001c4b228bda570ec0d1b7dc3a739.zip |
api: restrict number to integer in function string_parse_size
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 5d46dd205..b6093fd52 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -1970,8 +1970,8 @@ unsigned long long weechat_string_parse_size (const char *size); Arguments: -* _size_: the size as string: float number followed optional spaces and optional - unit (lower or upper case), which is one of: +* _size_: the size as string: positive integer number followed by optional + spaces and optional unit (lower or upper case), which is one of: ** _b_: bytes ** _k_: kilobytes (1k = 1000 bytes) ** _m_: megabytes (1m = 1000k = 1,000,000 bytes) |