]> git.ozlabs.org Git - ccan/commitdiff
argcheck: a module to check argument ranges
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 21 Nov 2013 01:53:53 +0000 (11:53 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 1 Dec 2013 10:09:53 +0000 (20:39 +1030)
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@who-t.net>

No differences found