Update the changelog
[opencv] / apps / Hawk / CVEiCL / EiC / src / ppc403 / include / assertp.h
1 \r
2 void abort(void);\r
3 \r
4 #ifndef NDEBUG\r
5 \r
6 #define assertandpause(p, args) if(p){fprintf(stderr,\\r
7                 "ASSERT : %s, At line %d in file %s.\n",\\r
8                 #p, __LINE__,__FILE__);\\r
9                 printf args;\\r
10                 fprintf(stderr,"<Key to continue>");\\r
11                 getchar();}\r
12 \r
13 \r
14 \r
15 #define assertp(p, args)        if(p){\\r
16                 fprintf(stderr,\\r
17                 "ASSERT : %s, At line %d in file %s.\nCalled From: ",\\r
18                 #p, __LINE__,__FILE__);\\r
19                 printf args; abort();}\r
20 \r
21 #else\r
22 #define assertandpause(p, args)\r
23 #define assert(p, args)\r
24 #endif\r