Core/Common: Add macro ASSERT_WITH_SIDE_EFFECTS to be used when asserting conditions that have side effects

This commit is contained in:
jackpoz
2020-06-26 23:21:49 +02:00
parent 0a08027bd9
commit 49da3533cd
2 changed files with 6 additions and 4 deletions

View File

@@ -69,6 +69,8 @@ TC_COMMON_API std::string GetDebugInfo();
#define ASSERT_NODEBUGINFO WPAssert_NODEBUGINFO
#endif
#define ASSERT_WITH_SIDE_EFFECTS WPAssert
#define ABORT WPAbort
#define ABORT_MSG WPAbort_MSG