Loading...
Searching...
No Matches
3#if defined(SCORE_DEBUG)
11#define DEBUG_BREAK DebugBreak()
14#define DEBUG_BREAK std::raise(SIGTRAP)
20#if defined(SCORE_DEBUG)
24 static bool score_todo_b = false; \
28 score_todo_b = true; \
32#define SCORE_TODO_(Str) \
35 static bool score_todo_b = false; \
38 qDebug() << "TODO: " << (Str); \
39 score_todo_b = true; \
43#define SCORE_BREAKPOINT \
54#define SCORE_TODO_(Str) \
58#define SCORE_BREAKPOINT \
65#define SCORE_ASSERT(arg) \
68 if(bool score_assert_b = !!(arg); !score_assert_b) \
75#define SCORE_ASSERT(arg) \
78 if(bool score_assert_b = !!(arg); !score_assert_b) \
80 throw std::runtime_error("Assertion failure: " #arg); \
85#define SCORE_SOFT_ASSERT(arg) \
88 if(bool score_assert_b = !!(arg); !score_assert_b) \
91 qDebug() << "Assertion failure: " #arg; \
101#define SCORE_XSTR(s) SCORE_STR(s)
102#define SCORE_STR(s) #s
105#if defined(Q_CC_MSVC)
108#if defined(SCORE_STATIC_PLUGINS)
111#define INLINE_EXPORT __attribute__((visibility("default")))