| 189 | |
| 190 | |
| 191 | static int io_tmpfile (lua_State *L) { |
| 192 | FILE **pf = newfile(L); |
| 193 | *pf = tmpfile(); |
| 194 | return (*pf == NULL) ? pushresult(L, 0, NULL) : 1; |
| 195 | } |
| 196 | |
| 197 | |
| 198 | static FILE *getiofile (lua_State *L, int findex) { |
nothing calls this directly
no test coverage detected