/*! \file assert.hpp \brief Implements a better 'Assert'. Used in the reviver::dpoint inplementation. */ namespace tpp { #ifndef REVIVER_ASSERT_HPP #define REVIVER_ASSERT_HPP /*! \def MyAssertFunction \brief Function used by 'Assert' function in _DEBUG mode. */ extern bool MyAssertFunction( bool b, const char* desc, int line, const char* file); #if defined( _DEBUG ) // changed mrkkrj -- //#define Assert( exp, description ) MyAssertFunction( (int)(exp), description, __LINE__, __FILE__ ) #define Assert( exp, description ) tpp::MyAssertFunction( (int)(exp), description, __LINE__, __FILE__ ) // END changed -- #else #define Assert( exp, description ) #endif #endif }