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

Function luaB_load

Source/Misc/lua/src/lua.c:11179–11186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11177
11178
11179static int luaB_load (lua_State *L) {
11180int status;
11181const char *cname = luaL_optstring(L, 2, "=(load)");
11182luaL_checktype(L, 1, LUA_TFUNCTION);
11183lua_settop(L, 3); /* function, eventual name, plus one reserved slot */
11184status = lua_load(L, generic_reader, NULL, cname);
11185return load_aux(L, status);
11186}
11187
11188
11189static int luaB_dofile (lua_State *L) {

Callers

nothing calls this directly

Calls 4

luaL_checktypeFunction · 0.85
lua_settopFunction · 0.85
lua_loadFunction · 0.85
load_auxFunction · 0.85

Tested by

no test coverage detected