aboutsummaryrefslogtreecommitdiff
path: root/src/linda.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/linda.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linda.cpp b/src/linda.cpp
index 8b6df8e..3449f89 100644
--- a/src/linda.cpp
+++ b/src/linda.cpp
@@ -181,6 +181,8 @@ int Linda::ProtectedCall(lua_State* L_, lua_CFunction f_)
181 lua_State* const _KL{ _K ? _K->L : nullptr }; 181 lua_State* const _KL{ _K ? _K->L : nullptr };
182 if (_KL == nullptr) 182 if (_KL == nullptr)
183 return 0; 183 return 0;
184
185 LUA_ASSERT_CODE(auto const _koip{ _linda->startKeeperOperation(L_) });
184 // if we didn't do anything wrong, the keeper stack should be clean 186 // if we didn't do anything wrong, the keeper stack should be clean
185 LUA_ASSERT(L_, lua_gettop(_KL) == 0); 187 LUA_ASSERT(L_, lua_gettop(_KL) == 0);
186 188