| 214 | |
| 215 | |
| 216 | static int io_close (lua_State *L) { |
| 217 | if (lua_isnone(L, 1)) /* no argument? */ |
| 218 | lua_getfield(L, LUA_REGISTRYINDEX, IO_OUTPUT); /* use default output */ |
| 219 | return f_close(L); |
| 220 | } |
| 221 | |
| 222 | |
| 223 | static int f_gc (lua_State *L) { |
nothing calls this directly
no test coverage detected