| 392 | |
| 393 | |
| 394 | static int luaB_dofile (lua_State *L) { |
| 395 | const char *fname = luaL_optstring(L, 1, NULL); |
| 396 | lua_settop(L, 1); |
| 397 | if (l_unlikely(luaL_loadfile(L, fname) != LUA_OK)) |
| 398 | return lua_error(L); |
| 399 | lua_callk(L, 0, LUA_MULTRET, 0, dofilecont); |
| 400 | return dofilecont(L, 0, 0); |
| 401 | } |
| 402 | |
| 403 | |
| 404 | static int luaB_assert (lua_State *L) { |
nothing calls this directly
no test coverage detected