aboutsummaryrefslogtreecommitdiff
path: root/test/myassert.h
blob: 01e567e69c6dc7ce731d364d4bb9c50300b88117 (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);