diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-14 17:29:39 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-14 17:29:39 +0200 |
commit | f9f4c841e77ea36797a2ea06cd8859581dfbef94 (patch) | |
tree | 947223403341ed2fe3fbf1fcde7a0d43f6647090 /src/macros_and_utils.h | |
parent | 53eef99942ecca7b1dc43ec6b35d09a5fe6b1b1b (diff) | |
download | lanes-f9f4c841e77ea36797a2ea06cd8859581dfbef94.tar.gz lanes-f9f4c841e77ea36797a2ea06cd8859581dfbef94.tar.bz2 lanes-f9f4c841e77ea36797a2ea06cd8859581dfbef94.zip |
Shuffling code around
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 |