LUA: Remove references to Sword25 (#1833)

This commit is contained in:
Cameron Cawley 2019-09-06 08:38:14 +01:00 committed by Filippos Karapetis
parent 1c8a7800da
commit 713fe80b47
5 changed files with 37 additions and 37 deletions

View file

@ -521,7 +521,7 @@ LUALIB_API void luaL_unref (lua_State *L, int t, int ref) {
typedef struct LoadF {
int extraline;
Sword25::Sword25FileProxy *f;
Lua::LuaFileProxy *f;
char buff[LUAL_BUFFERSIZE];
} LoadF;
@ -557,7 +557,7 @@ LUALIB_API int luaL_loadfile (lua_State *L, const char *filename) {
lf.extraline = 0;
lua_pushfstring(L, "@%s", filename);
lf.f = new Sword25::Sword25FileProxy(filename, "r");
lf.f = new Lua::LuaFileProxy(filename, "r");
/*
if (filename == NULL) {
lua_pushliteral(L, "=stdin");