| 12095 | |
| 12096 | |
| 12097 | static int io_tmpfile (lua_State *L) { |
| 12098 | FILE **pf = newfile(L); |
| 12099 | *pf = tmpfile(); |
| 12100 | return (*pf == NULL) ? pushresult(L, 0, NULL) : 1; |
| 12101 | } |
| 12102 | |
| 12103 | |
| 12104 | static FILE *getiofile (lua_State *L, int findex) { |
nothing calls this directly
no test coverage detected