| 321 | |
| 322 | |
| 323 | static int luaB_load (lua_State *L) { |
| 324 | int status; |
| 325 | const char *cname = luaL_optstring(L, 2, "=(load)"); |
| 326 | luaL_checktype(L, 1, LUA_TFUNCTION); |
| 327 | lua_settop(L, 3); /* function, eventual name, plus one reserved slot */ |
| 328 | status = lua_load(L, generic_reader, NULL, cname); |
| 329 | return load_aux(L, status); |
| 330 | } |
| 331 | |
| 332 | |
| 333 | static int luaB_dofile (lua_State *L) { |
nothing calls this directly
no test coverage detected