| 277 | |
| 278 | |
| 279 | static int io_tmpfile(lua_State *L) { |
| 280 | LStream *p = newfile(L); |
| 281 | p->f = tmpfile(); |
| 282 | return (p->f == nullptr) ? luaL_fileresult(L, 0, nullptr) : 1; |
| 283 | } |
| 284 | |
| 285 | |
| 286 | static FILE *getiofile(lua_State *L, const char *findex) { |
nothing calls this directly
no test coverage detected