include/assert.hpp

Go to the documentation of this file.
00001 
00002 namespace tpp {
00003 
00008 #ifndef REVIVER_ASSERT_HPP
00009 #define REVIVER_ASSERT_HPP
00010 
00011 
00017 extern bool MyAssertFunction( bool b, char* desc, int line, char* file);
00018 
00019 
00020 #if defined( _DEBUG )
00021 #define Assert( exp, description ) MyAssertFunction( (int)(exp), description, __LINE__, __FILE__ )
00022 #else
00023 #define Assert( exp, description )
00024 #endif
00025 
00026 
00027 #endif
00028 
00029 }

Generated on Fri Nov 3 21:59:02 2006 for Triangle++ by  doxygen 1.4.6