Go to the documentation of this file.
16# if defined(SCL_PLATFORM_WINDOWS)
17# define SCL_DEBUGBREAK() __debugbreak()
18# elif defined(SCL_PLATFORM_LINUX)
20# define SCL_DEBUGBREAK() raise(SIGTRAP)
22# error "Platform doesn't support debugbreak yet!"
24# define SCL_ENABLE_ASSERTS
26# define SCL_DEBUGBREAK()
29#ifdef SCL_ASSERTION_ENABLED
30# ifdef SCL_PLATFORM_WINDOWS
41# define SCL_CORE_ASSERT(Expr, ...) \
45 SCL_CORE_ERROR(__VA_ARGS__); \
59# define SCL_ASSERT(Expr, ...) \
63 SCL_ERROR(__VA_ARGS__); \
69# define SCL_CORE_ASSERT(expr, ...) (expr)
70# define SCL_ASSERT(expr, ...) (expr)