ECF
1.5
D:
Projekt
ECF_trunk
examples
iprojekt
check.h
1
// Domagoj Jakobovic
2
// makroi za bezuvjetnu provjeru
3
// 26.09.2002
4
5
#ifndef CHECK
6
7
#define CHECKMSG(condition, text) \
8
if(!(condition)) {fprintf(stderr,"file: "
__FILE__ "\nline: %d\nmsg: " text "\n",__LINE__); exit(1);}
9
#define CHECK(condition) \
10
if(!(condition)) {fprintf(stderr,"Assertion failed!\nfile: "
__FILE__ "\nline: %d\n" ,__LINE__); exit(1);}
11
12
#endif
Generated on Wed Aug 3 2022 17:50:42 for ECF by
1.9.4