| 331 | |
| 332 | |
| 333 | static int luaB_dofile (lua_State *L) { |
| 334 | const char *fname = luaL_optstring(L, 1, NULL); |
| 335 | int n = lua_gettop(L); |
| 336 | if (luaL_loadfile(L, fname) != 0) lua_error(L); |
| 337 | lua_call(L, 0, LUA_MULTRET); |
| 338 | return lua_gettop(L) - n; |
| 339 | } |
| 340 | |
| 341 | |
| 342 | static int luaB_assert (lua_State *L) { |
nothing calls this directly
no test coverage detected