| 528 | |
| 529 | |
| 530 | static void newfenv (lua_State *L, lua_CFunction cls) { |
| 531 | lua_createtable(L, 0, 1); |
| 532 | lua_pushcfunction(L, cls); |
| 533 | lua_setfield(L, -2, "__close"); |
| 534 | } |
| 535 | |
| 536 | |
| 537 | LUALIB_API int luaopen_io (lua_State *L) { |
no test coverage detected