home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
thx
/
include
/
debug.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-08
|
266b
|
19 lines
// ------- debug.h
#ifndef DEBUG_H
#define DEBUG_H
void fatal(const char *,const char *,int);
#undef Assert
#ifdef NDEBUG
#define Assert(p) ((void)0)
#else
#define Assert(p) ((p) ? (void)0 : \
fatal(#p, __FILE__, __LINE__))
#endif
#endif