diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/debug.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug.hpp b/src/debug.hpp index 66541c0..9ebea1f 100644 --- a/src/debug.hpp +++ b/src/debug.hpp | |||
@@ -40,6 +40,7 @@ class StackChecker final | |||
40 | DECLARE_UNIQUE_TYPE(Relative, int); | 40 | DECLARE_UNIQUE_TYPE(Relative, int); |
41 | DECLARE_UNIQUE_TYPE(Absolute, int); | 41 | DECLARE_UNIQUE_TYPE(Absolute, int); |
42 | 42 | ||
43 | // offer a way to bypass C assert during unit testing | ||
43 | static inline bool CallsCassert{ true }; | 44 | static inline bool CallsCassert{ true }; |
44 | 45 | ||
45 | StackChecker(lua_State* const L_, Relative const offset_, SourceLocation const& where_ = Where()) | 46 | StackChecker(lua_State* const L_, Relative const offset_, SourceLocation const& where_ = Where()) |