MCPcopy Create free account
hub / github.com/DFHack/dfhack / dofile

Function dofile

depends/lua/src/lua.c:245–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244
245static int dofile (lua_State *L, const char *name) {
246 return dochunk(L, luaL_loadfile(L, name));
247}
248
249
250static int dostring (lua_State *L, const char *s, const char *name) {

Callers 2

handle_luainitFunction · 0.85
pmainFunction · 0.85

Calls 1

dochunkFunction · 0.85

Tested by

no test coverage detected