| 11187 | |
| 11188 | |
| 11189 | static int luaB_dofile (lua_State *L) { |
| 11190 | const char *fname = luaL_optstring(L, 1, NULL); |
| 11191 | int n = lua_gettop(L); |
| 11192 | if (luaL_loadfile(L, fname) != 0) lua_error(L); |
| 11193 | lua_call(L, 0, LUA_MULTRET); |
| 11194 | return lua_gettop(L) - n; |
| 11195 | } |
| 11196 | |
| 11197 | |
| 11198 | static int luaB_assert (lua_State *L) { |
nothing calls this directly
no test coverage detected