Update Lua instances (2/4)

This is effectively a NO-OP.
This commit is contained in:
Robin Gareus 2023-10-04 01:25:04 +02:00
parent 7c10a54334
commit 6b3f25eb2a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 8 additions and 15 deletions

View file

@ -416,7 +416,7 @@ setup_lua ()
{
assert (!lua);
lua = new LuaState ();
lua = new LuaState (false, false);
lua->Print.connect (&my_lua_print);
lua_State* L = lua->getState ();
@ -491,7 +491,7 @@ interactive_interpreter ()
}
do {
LuaState lt;
LuaState lt (false, false);
lua_State* L = lt.getState ();
int status = luaL_loadbuffer (L, line, strlen (line), "=stdin");
if (!incomplete (L, status)) {