| 12146 | |
| 12147 | |
| 12148 | static void aux_lines (lua_State *L, int idx, int toclose) { |
| 12149 | lua_pushvalue(L, idx); |
| 12150 | lua_pushboolean(L, toclose); /* close/not close file when finished */ |
| 12151 | lua_pushcclosure(L, io_readline, 2); |
| 12152 | } |
| 12153 | |
| 12154 | |
| 12155 | static int f_lines (lua_State *L) { |
no test coverage detected