Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals

debug.h

Go to the documentation of this file.
00001 #ifndef DEBUG_H
00002 #define DEBUG_H
00003 
00004 #include <stdio.h>
00005 #include <stdarg.h>
00006 
00007 inline void debugmsg( const char* fmt, ... )
00008 {
00009 #ifndef NDEBUG
00010         va_list ap;
00011         va_start(ap, fmt);
00012         vfprintf( stdout, fmt, ap );
00013         va_end(ap);
00014 #endif /* NDEBUG */
00015 }
00016 
00017 #endif

Generated on Wed Jun 23 18:47:21 2004 for cZUI by doxygen 1.3.5