diff options
Diffstat (limited to 'src/macros_and_utils.h')
-rw-r--r-- | src/macros_and_utils.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index 5987e73..d71c9da 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h | |||
@@ -61,21 +61,6 @@ template <typename... ARGS> | |||
61 | 61 | ||
62 | // ################################################################################################# | 62 | // ################################################################################################# |
63 | 63 | ||
64 | #define USE_DEBUG_SPEW() 0 | ||
65 | #if USE_DEBUG_SPEW() | ||
66 | #define INDENT_BEGIN "%.*s " | ||
67 | #define INDENT_END(U_) , (U_ ? U_->debugspewIndentDepth.load(std::memory_order_relaxed) : 0), DebugSpewIndentScope::debugspew_indent | ||
68 | #define DEBUGSPEW_CODE(_code) _code | ||
69 | #define DEBUGSPEW_OR_NOT(a_, b_) a_ | ||
70 | #define DEBUGSPEW_PARAM_COMMA(param_) param_, | ||
71 | #define DEBUGSPEW_COMMA_PARAM(param_) , param_ | ||
72 | #else // USE_DEBUG_SPEW() | ||
73 | #define DEBUGSPEW_CODE(_code) | ||
74 | #define DEBUGSPEW_OR_NOT(a_, b_) b_ | ||
75 | #define DEBUGSPEW_PARAM_COMMA(param_) | ||
76 | #define DEBUGSPEW_COMMA_PARAM(param_) | ||
77 | #endif // USE_DEBUG_SPEW() | ||
78 | |||
79 | #ifdef NDEBUG | 64 | #ifdef NDEBUG |
80 | 65 | ||
81 | #define LUA_ASSERT(L_, c) ; // nothing | 66 | #define LUA_ASSERT(L_, c) ; // nothing |