Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

log.h

Go to the documentation of this file.
00001 /****************************************************************************************/
00002 /*  LOG.H                                                                               */
00003 /*                                                                                      */
00004 /*  Author:                                                                             */
00005 /*  Description: Debugging logger interface                                             */
00006 /*                                                                                      */
00007 /*  The contents of this file are subject to the Genesis3D Public License               */
00008 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00009 /*  compliance with the License. You may obtain a copy of the License at                */
00010 /*  http://www.genesis3d.com                                                            */
00011 /*                                                                                      */
00012 /*  Software distributed under the License is distributed on an "AS IS"                 */
00013 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00014 /*  the License for the specific language governing rights and limitations              */
00015 /*  under the License.                                                                  */
00016 /*                                                                                      */
00017 /*  The Original Code is Genesis3D, released March 25, 1999.                            */
00018 /*  Genesis3D Version 1.1 released November 15, 1999                                 */
00019 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */
00020 /*                                                                                      */
00021 /****************************************************************************************/
00022 #ifndef GE_LOG_H
00023 #define GE_LOG_H
00024 
00025 #include <stdarg.h>
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 #ifdef  _LOG
00032 
00033 void Log_Puts(  const char * string);
00034 void Log_Printf(const char * string, ...);
00035 
00036 #else   // _LOG
00037 
00038 static _inline void Log_Printf(const char * str, ...) { }
00039 #define Log_Puts(string)
00040 
00041 #endif  // _LOG
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 
00047 #endif // LOG_H
00048 

Generated on Tue Sep 30 12:35:58 2003 for GTestAndEngine by doxygen 1.3.2