aboutsummaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h
index b9a82f1..9b7137b 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -26,7 +26,7 @@ inline void LUA_ASSERT_IMPL(lua_State* const L_, bool const cond_, std::string_v
26 } 26 }
27} 27}
28 28
29#define LUA_ASSERT(L_, cond_) LUA_ASSERT_IMPL(L_, cond_, #cond_) 29#define LUA_ASSERT(L_, cond_) LUA_ASSERT_IMPL(L_, (cond_) ? true : false, #cond_)
30#define LUA_ASSERT_CODE(code_) code_ 30#define LUA_ASSERT_CODE(code_) code_
31 31
32class StackChecker 32class StackChecker