Add LuaDefineAlias

This commit is contained in:
2023-04-14 14:52:44 -04:00
parent 8ea6c47e4c
commit 47c868876a
4 changed files with 53 additions and 41 deletions

View File

@@ -683,7 +683,7 @@ void HttpClientRequest::set_params(LuaCoreStack &LS0, LuaSlot tab) {
return;
}
LuaVar key, val;
LuaDefStack LS(LS0.state(), key, val);
LuaExtStack LS(LS0.state(), key, val);
LS.set(key, LuaNil);
while (LS.next(tab, key, val)) {
set_param(LS, key, val);