| 87 | |
| 88 | |
| 89 | void luaF_freeupval (lua_State *L, UpVal *uv) { |
| 90 | if (uv->v != &uv->u.value) /* is it open? */ |
| 91 | unlinkupval(uv); /* remove from open list */ |
| 92 | luaM_free(L, uv); /* free upvalue */ |
| 93 | } |
| 94 | |
| 95 | |
| 96 | void luaF_close (lua_State *L, StkId level) { |
no test coverage detected