| 181 | |
| 182 | |
| 183 | static int io_tmpfile (lua_State *L) { |
| 184 | FILE **pf = newfile(L); |
| 185 | *pf = tmpfile(); |
| 186 | return (*pf == NULL) ? pushresult(L, 0, NULL) : 1; |
| 187 | } |
| 188 | |
| 189 | |
| 190 | static FILE *getiofile (lua_State *L, int findex) { |
nothing calls this directly
no test coverage detected