MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / unlinkupval

Function unlinkupval

Source/Misc/lua/src/lua.c:5910–5914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5908
5909
5910static void unlinkupval (UpVal *uv) {
5911lua_assert(uv->u.l.next->u.l.prev == uv && uv->u.l.prev->u.l.next == uv);
5912uv->u.l.next->u.l.prev = uv->u.l.prev; /* remove from `uvhead' list */
5913uv->u.l.prev->u.l.next = uv->u.l.next;
5914}
5915
5916
5917void luaF_freeupval (lua_State *L, UpVal *uv) {

Callers 2

luaF_freeupvalFunction · 0.85
luaF_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected