| 12439 | |
| 12440 | |
| 12441 | static void newfenv (lua_State *L, lua_CFunction cls) { |
| 12442 | lua_createtable(L, 0, 1); |
| 12443 | lua_pushcfunction(L, cls); |
| 12444 | lua_setfield(L, -2, "__close"); |
| 12445 | } |
| 12446 | |
| 12447 | |
| 12448 | LUALIB_API int luaopen_io (lua_State *L) { |
no test coverage detected