Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

assert.h

Go to the documentation of this file.
00001 #ifndef __ASSERT
00002 #define __ASSERT
00003 
00004 void assert(int);
00005 
00006 #endif /* __ASSERT */
00007 
00008 #undef assert
00009 #ifdef NDEBUG
00010 #define assert(ignore) ((void)0)
00011 #else
00012 extern int _assert(char *, char *, unsigned);
00013 #define assert(e) ((void)((e)||_assert(#e, __FILE__, __LINE__)))
00014 #endif /* NDEBUG */

Generated on Thu Aug 25 12:38:09 2005 for Quake III Arena by  doxygen 1.3.9.1