MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / freeupval

Function freeupval

third-party/lua-5.4.6/src/lgc.c:765–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763
764
765static void freeupval (lua_State *L, UpVal *uv) {
766 if (upisopen(uv))
767 luaF_unlinkupval(uv);
768 luaM_free(L, uv);
769}
770
771
772static void freeobj (lua_State *L, GCObject *o) {

Callers 1

freeobjFunction · 0.70

Calls 1

luaF_unlinkupvalFunction · 0.70

Tested by

no test coverage detected