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(x) if (!(x)) { BS_BREAKPOINT(); return false; }
15 #define BS_ASSERT(x) if (!(x)) { return false; }
17 #define BS_BREAKPOINT() throw