diff options
Diffstat (limited to '')
-rw-r--r-- | src/deep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deep.cpp b/src/deep.cpp index bfadeac..278d25f 100644 --- a/src/deep.cpp +++ b/src/deep.cpp | |||
@@ -216,7 +216,7 @@ void DeepFactory::PushDeepProxy(DestState const L_, DeepPrelude* const prelude_, | |||
216 | raise_luaL_error(errL_, "Bad DeepFactory::createMetatable overload: unexpected pushed value"); | 216 | raise_luaL_error(errL_, "Bad DeepFactory::createMetatable overload: unexpected pushed value"); |
217 | } | 217 | } |
218 | // if the metatable contains a __gc, we will call it from our own | 218 | // if the metatable contains a __gc, we will call it from our own |
219 | std::ignore = luaG_getfield(L_, kIdxTop, "__gc"); // L_: DPC proxy metatable __gc | 219 | std::ignore = luaG_rawgetfield(L_, kIdxTop, "__gc"); // L_: DPC proxy metatable __gc |
220 | } else { | 220 | } else { |
221 | // keepers need a minimal metatable that only contains our own __gc | 221 | // keepers need a minimal metatable that only contains our own __gc |
222 | lua_createtable(L_, 0, 1); // L_: DPC proxy metatable | 222 | lua_createtable(L_, 0, 1); // L_: DPC proxy metatable |