| 313 | |
| 314 | |
| 315 | static int luaB_load (lua_State *L) { |
| 316 | int status; |
| 317 | const char *cname = luaL_optstring(L, 2, "=(load)"); |
| 318 | luaL_checktype(L, 1, LUA_TFUNCTION); |
| 319 | lua_settop(L, 3); /* function, eventual name, plus one reserved slot */ |
| 320 | status = lua_load(L, generic_reader, NULL, cname); |
| 321 | return load_aux(L, status); |
| 322 | } |
| 323 | |
| 324 | |
| 325 | static int luaB_dofile (lua_State *L) { |
nothing calls this directly
no test coverage detected