| 413 | |
| 414 | |
| 415 | static int luaB_dofile (lua_State *L) { |
| 416 | const char *fname = luaL_optstring(L, 1, NULL); |
| 417 | lua_settop(L, 1); |
| 418 | if (l_unlikely(luaL_loadfile(L, fname) != LUA_OK)) |
| 419 | return lua_error(L); |
| 420 | lua_callk(L, 0, LUA_MULTRET, 0, dofilecont); |
| 421 | return dofilecont(L, 0, 0); |
| 422 | } |
| 423 | |
| 424 | |
| 425 | static int luaB_assert (lua_State *L) { |
nothing calls this directly
no test coverage detected