Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

source/logging.h

Go to the documentation of this file.
00001 
00007 #if !defined(_LOGGING_H)
00008 #define _LOGGING_H
00009 
00010 #if defined(__cplusplus)
00011 extern "C" {
00012 #endif
00013 
00014 #ifdef LOGGING 
00015 
00019 void WriteLog(char *s, ...);
00024 void WriteLogX(char *s, ...);
00025 #else
00026 #if defined(__cplusplus) || defined(_MSVC)
00027 static void WriteLog(char *s, ...) {}
00028 static void WriteLogX(char *s, ...) {}
00029 #else
00030 #define WriteLog(...)
00031 #define WriteLogX(...)
00032 #endif
00033 #endif
00034 
00035 #if defined(__cplusplus)
00036 }
00037 #endif
00038 
00039 #endif /* _LOGGING_H */

Generated on Mon Aug 30 19:44:16 2004 for pocketcity by doxygen1.2.18