Loading...
Searching...
No Matches
Go to the documentation of this file.
5#define BS_BREAKPOINT() __debugbreak()
6#elif defined(__linux__)
8#define BS_BREAKPOINT() std::raise(SIGTRAP)
10#define BS_BREAKPOINT() throw
13#define BS_ASSERT(...) if (!(__VA_ARGS__)) { BS_BREAKPOINT(); return false; }
15#define BS_ASSERT(...) if (!(__VA_ARGS__)) { return false; }
17#define BS_BREAKPOINT() throw