lkml.org 
[lkml]   [2015]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 02/12] Add parse integer() (replacement for simple strto*())
Date
> 	int parse_integer(const char *s, unsigned int base, T *val);
>

I suspect splitting this into
parse_signed_int
and
parse_unsigned_int
(or some other equivalent names)
will make the call-sites a lot easier to read.




\
 
 \ /
  Last update: 2015-05-10 18:21    [W:0.109 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site