ug4
assert.h File Reference
#include <cassert>
#include "common/log.h"
#include "ug_config.h"

Go to the source code of this file.

Macros

#define UG_ASSERT(expr, msg)
 
#define UG_TO_STRING(x)   UG_TO_STRING1(x)
 
#define UG_TO_STRING1(x)   #x
 

Functions

UG_API void ug_assert_failed ()
 Checks an expression at runtime and raises a runtime-error if the expression equals 0. More...