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

Function unlinkupval

app/redis-6.2.6/deps/lua/src/lfunc.c:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82static void unlinkupval (UpVal *uv) {
83 lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv);
84 uv->u.l.next->u.l.prev = uv->u.l.prev; /* remove from `uvhead' list */
85 uv->u.l.prev->u.l.next = uv->u.l.next;
86}
87
88
89void luaF_freeupval (lua_State *L, UpVal *uv) {

Callers 2

luaF_freeupvalFunction · 0.70
luaF_closeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected