Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

cdebug.cpp

00001 #include "globals.h"
00002 
00003 #include <stdlib.h>
00004 #include <stdio.h>
00005 
00006 #include "cdebug.h"
00007 
00008 /* Definition of the singleton instance pointer. */
00009 CDebug *CDebug::unique_instance = 0;
00010    
00011 void CDebug::log_error(const char *err_msg, int fatal)
00012 {
00013         fprintf(stderr, err_msg);
00014         if (fatal) {
00015                 exit(fatal);
00016         }
00017 }

Generated on Wed Aug 27 11:58:41 2003 for GFW by doxygen 1.3.3