From: Peter Hutterer Date: Thu, 21 Nov 2013 01:53:53 +0000 (+1000) Subject: argcheck: a module to check argument ranges X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=339178b2247516362d8e0abb263089052c79eb69;hp=339178b2247516362d8e0abb263089052c79eb69;p=ccan argcheck: a module to check argument ranges 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 ---