mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Merge pull request #706 from dequis/parse-uint
Add parse_uint function to improve integer overflow handling
(cherry picked from commit 31b9d115b0)
This commit is contained in:
parent
d8167908d0
commit
d5bdf00ba6
4 changed files with 130 additions and 27 deletions
|
|
@ -71,6 +71,7 @@ int expand_escape(const char **data);
|
|||
int nearest_power(int num);
|
||||
|
||||
/* Returns TRUE / FALSE */
|
||||
int parse_uint(const char *nptr, char **endptr, int base, guint *number);
|
||||
int parse_time_interval(const char *time, int *msecs);
|
||||
int parse_size(const char *size, int *bytes);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue