1 #ifndef CCTOOLS_ASSERT_H
2 #define CCTOOLS_ASSERT_H
9 # define CCTOOLS_SOURCE "test"
13 # define cctools_assert(exp) \
16 fprintf(stderr, "%s: %s:%d[%s]: Assertion '%s' failed.\n", __func__, __FILE__, __LINE__, CCTOOLS_SOURCE, #exp);\
22 # define cctools_assert(exp) ((void)0)
26 #define assert(expr) cctools_assert(expr)