MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / dochunk

Function dochunk

src/Chain/libraries/glua/lrepl.cpp:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static int dochunk(lua_State *L, int status) {
110 if (status == LUA_OK) status = docall(L, 0, 0);
111 return report(L, status);
112}
113
114static int dofile(lua_State *L, const char *name) {
115 return dochunk(L, luaL_loadfile(L, name));

Callers 2

dofileFunction · 0.70
dostringFunction · 0.70

Calls 2

docallFunction · 0.70
reportFunction · 0.70

Tested by

no test coverage detected