1 #include "typesafe_cb/typesafe_cb.h"
3 void _set_some_value(void *val);
5 void _set_some_value(void *val)
9 #define set_some_value(expr) \
10 _set_some_value(cast_if_type((expr), unsigned long, void *))
12 int main(int argc, char *argv[])
17 #if !HAVE_TYPEOF||!HAVE_BUILTIN_CHOOSE_EXPR||!HAVE_BUILTIN_TYPES_COMPATIBLE_P
18 #error "Unfortunately we don't fail if cast_if_type is a noop."