MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / dofile

Function dofile

other_src/lua/src/lua.cpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133
134static int dofile (lua_State *L, const char *name) {
135 int status = luaL_loadfile(L, name) || docall(L, 0, 1);
136 return report(L, status);
137}
138
139
140static 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.70
docallFunction · 0.70
reportFunction · 0.70

Tested by

no test coverage detected