MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaB_loadstring

Function luaB_loadstring

Source/Misc/lua/src/lua.c:11141–11146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11139
11140
11141static int luaB_loadstring (lua_State *L) {
11142size_t l;
11143const char *s = luaL_checklstring(L, 1, &l);
11144const char *chunkname = luaL_optstring(L, 2, s);
11145return load_aux(L, luaL_loadbuffer(L, s, l, chunkname));
11146}
11147
11148
11149static int luaB_loadfile (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checklstringFunction · 0.85
load_auxFunction · 0.85
luaL_loadbufferFunction · 0.85

Tested by

no test coverage detected