| 79 | |
| 80 | |
| 81 | void luaF_freeupval (lua_State *L, UpVal *uv) { |
| 82 | if (uv->v != &uv->u.value) /* is it open? */ |
| 83 | unlinkupval(uv); /* remove from open list */ |
| 84 | luaM_free(L, uv); /* free upvalue */ |
| 85 | } |
| 86 | |
| 87 | |
| 88 | void luaF_close (lua_State *L, StkId level) { |
no test coverage detected