[ccan] [PATCH v2] argcheck: a module to check argument ranges

Peter Hutterer peter.hutterer at who-t.net
Mon Dec 2 12:38:07 EST 2013


On Sun, Dec 01, 2013 at 08:40:49PM +1030, Rusty Russell wrote:
> Peter Hutterer <peter.hutterer at who-t.net> writes:
> > This code provides some macros to check arguments for valid value ranges.
> > Consider this a mild version of assert(3), because all it does is to log
> > a message and continue.
> >
> > These macros don't replace error handling, but they are useful in
> > situations where an error is unexpected but not common, i.e.
> > this shouldn't happen but if it does let me know".
> >
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> 
> Sorry for the long delay, I took a week off...

no problem, thanks.
 
> Applied,
> Rusty.
> PS.  Please send ssh key, so I can give you commit access...

We already set that up after the version helper script, I was just waiting
for any further comments given that I rewrote the whole thing. Would've
pushed later this week anyway :)

Cheers,
   Peter


More information about the ccan mailing list