MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaF_freeupval

Function luaF_freeupval

freebsd/contrib/openzfs/module/lua/lfunc.c:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81void 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
88void luaF_close (lua_State *L, StkId level) {

Callers 2

luaF_closeFunction · 0.70
freeobjFunction · 0.70

Calls 1

unlinkupvalFunction · 0.70

Tested by

no test coverage detected