MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / freeupval

Function freeupval

3rd/lua-5.4.3/src/lgc.c:757–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755
756
757static void freeupval (lua_State *L, UpVal *uv) {
758 if (upisopen(uv))
759 luaF_unlinkupval(uv);
760 luaM_free(L, uv);
761}
762
763
764static void freeobj (lua_State *L, GCObject *o) {

Callers 1

freeobjFunction · 0.85

Calls 1

luaF_unlinkupvalFunction · 0.85

Tested by

no test coverage detected