| 533 | |
| 534 | |
| 535 | static void newfenv (lua_State *L, lua_CFunction cls) { |
| 536 | lua_createtable(L, 0, 1); |
| 537 | lua_pushcfunction(L, cls); |
| 538 | lua_setfield(L, -2, "__close"); |
| 539 | } |
| 540 | |
| 541 | |
| 542 | LUALIB_API int luaopen_io (lua_State *L) { |
no test coverage detected