1 #include <ccan/typesafe_cb/typesafe_cb.h>
4 static void _set_some_value(void *val
)
8 #define set_some_value(expr) \
9 _set_some_value(typesafe_cb_cast(void *, long, (expr)))
11 int main(int argc
, char *argv
[])
15 #if !HAVE_TYPEOF||!HAVE_BUILTIN_CHOOSE_EXPR||!HAVE_BUILTIN_TYPES_COMPATIBLE_P
16 #error "Unfortunately we don't fail if typesafe_cb_cast is a noop."