 |
Elevate Engine 1
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7 #define EE_ASSERTS_ENABLED 1
9 #define EE_ASSERTS_ENABLED 0
15 #define DEBUG_BREAK() __debugbreak()
18 #define DEBUG_BREAK() raise(SIGTRAP)
22 #define EE_ASSERT(x, ...) { if(!(x)) { EE_ERROR("Assertions Failed: {}", __VA_ARGS__); DEBUG_BREAK(); } }
24#define EE_CORE_ASSERT(x, ...) { if(!(x)) { EE_CORE_ERROR("Assertions Failed: {}", __VA_ARGS__); DEBUG_BREAK(); } }
25 #ifdef EE_ENGINE_BUILD
26 #define EE_CORE_ASSERT(x, ...) { if(!(x)) { EE_CORE_ERROR("Assertions Failed: {}", __VA_ARGS__); DEBUG_BREAK(); } }
29 #define EE_ASSERT(x, ...) { if(!(x)) { EE_ERROR("Assertions Failed: {}", __VA_ARGS__); } }
30 #if defined(EE_ENGINE_BUILD)
31 #define EE_CORE_ASSERT(x, ...) { if(!(x)) { EE_CORE_ERROR("Assertions Failed: {}", __VA_ARGS__); } }