aboutsummaryrefslogtreecommitdiff
path: root/test/myassert.h
blob: 9d62955018abf5178a65bcffeda1e1d53d256010 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#define myassert(message, condition)     do {         if (!(condition)) {             fprintf(stderr, "%s:%d:%s :: %sn",                     __FILE__,                     __LINE__,                     __FUNCTION__,                     message);             return 1;         }     } while (0)