mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
missed stack size fix
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ impl<'lua> Table<'lua> {
|
||||
let lua = self.0.lua;
|
||||
unsafe {
|
||||
stack_err_guard(lua.state, 0, || {
|
||||
check_stack(lua.state, 5);
|
||||
check_stack(lua.state, 6);
|
||||
lua.push_ref(lua.state, &self.0);
|
||||
lua.push_value(lua.state, key.to_lua(lua)?);
|
||||
pgettable(lua.state, -2)?;
|
||||
|
||||
Reference in New Issue
Block a user