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/it | |
parent | 4d74a89cfcdce4d9207f51c786a2a1fc278c5a11 (diff) | |
download | weechat-e7b6e8c60f0001c4b228bda570ec0d1b7dc3a739.zip |
api: restrict number to integer in function string_parse_size
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index e3f94f74e..ddd9c2d4b 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -2060,8 +2060,8 @@ unsigned long long weechat_string_parse_size (const char *size); Argomenti: -* _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) |