|
yasmine
|
Go to the documentation of this file. 12 #ifndef Y_ASSERT_99E5ACCD_95C4_419D_A257_7294D6692569 13 #define Y_ASSERT_99E5ACCD_95C4_419D_A257_7294D6692569 16 #define Y_ASSERT( _condition, _message ) \ 19 if( !( _condition ) ) \ 21 SX_LOG_AND_WAIT( hermes::log_level::LL_ASSERT, "Assert failed! Message: '%', Condition '%'", _message, #_condition ); \ 22 assert( ( _condition ) && _message ); \ 27 #include "hermes/log.hpp"