MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / DoFile

Method DoFile

LuaSTGPlus/LuaWrapper.cpp:546–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544 return 0;
545 }
546 static int DoFile(lua_State* L)LNOEXCEPT
547 {
548 int args = lua_gettop(L);//获取此时栈上的值的数量
549 LAPP.LoadScript(luaL_checkstring(L, 1));
550 return (lua_gettop(L)- args);
551 }
552 static int ShowSplashWindow(lua_State* L)LNOEXCEPT
553 {
554 if (lua_gettop(L) == 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected