| 323 | |
| 324 | |
| 325 | static int luaB_dofile (lua_State *L) { |
| 326 | const char *fname = luaL_optstring(L, 1, NULL); |
| 327 | int n = lua_gettop(L); |
| 328 | if (luaL_loadfile(L, fname) != 0) lua_error(L); |
| 329 | lua_call(L, 0, LUA_MULTRET); |
| 330 | return lua_gettop(L) - n; |
| 331 | } |
| 332 | |
| 333 | |
| 334 | static int luaB_assert (lua_State *L) { |
nothing calls this directly
no test coverage detected