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

Function dostring

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

Source from the content-addressed store, hash-verified

215
216
217static int dostring (lua_State *L, const char *s, const char *name) {
218 int status = luaL_loadbuffer(L, s, strlen(s), name);
219 if (status == LUA_OK) status = docall(L, 0, 0);
220 return report(L, status);
221}
222
223
224static int dolibrary (lua_State *L, const char *name) {

Callers 2

runargsFunction · 0.70
handle_luainitFunction · 0.70

Calls 3

luaL_loadbufferFunction · 0.85
docallFunction · 0.70
reportFunction · 0.70

Tested by

no test coverage detected