MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / dofile

Function dofile

third-party/lua-5.2.4/src/lua.c:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209
210static int dofile (lua_State *L, const char *name) {
211 int status = luaL_loadfile(L, name);
212 if (status == LUA_OK) status = docall(L, 0, 0);
213 return report(L, status);
214}
215
216
217static int dostring (lua_State *L, const char *s, const char *name) {

Callers 2

handle_luainitFunction · 0.70
pmainFunction · 0.70

Calls 3

luaL_loadfileFunction · 0.85
docallFunction · 0.70
reportFunction · 0.70

Tested by

no test coverage detected