Error.hpp

Go to the documentation of this file.
00001 /* COPYRIGHT
00002  *
00003  * This file is part of the Simple Object Loader and Renderer - SOLAR
00004  *
00005  * Read the file "SOLAR-LICENSE" for the license.
00006  *
00007  * Authors & Copyright:
00008  *
00009  * Tommi Ilmonen, 2001-2003, except LWO-code by RJ, 2001-2003
00010  *
00011  * Tommi's email: firstname.lastname@hut.fi
00012  *
00013  */
00014 
00015 #ifndef SOLAR_ERROR_H
00016 #define SOLAR_ERROR_H
00017 
00018 // #include <vee_config.h>
00019 
00020 
00021 namespace Solar {
00022 
00023 
00024 extern void trace(const char *msg, ...);
00025 extern void error(const char *msg, ...);
00026 extern void fatal(const char *msg, ...);
00027 
00028 #ifdef FAST
00029 
00030 #define SOLAR_TRACE(x) 
00031 #define SOLAR_ERROR(x) 
00032 #define SOLAR_FATAL(x) 
00033 
00034 #else
00035 
00036 #define SOLAR_TRACE(x) trace(x)
00037 #define SOLAR_ERROR(x) error(x)
00038 #define SOLAR_FATAL(x) fatal(x)
00039 
00040 #endif
00041 
00042 } // namespace Solar
00043 
00044 
00045 #endif

Generated on Mon Mar 12 21:09:00 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6