MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / freeupval

Function freeupval

extlibs/lua/src/lgc.c:704–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702
703
704static void freeupval (lua_State *L, UpVal *uv) {
705 if (upisopen(uv))
706 luaF_unlinkupval(uv);
707 luaM_free(L, uv);
708}
709
710
711static void freeobj (lua_State *L, GCObject *o) {

Callers 1

freeobjFunction · 0.85

Calls 1

luaF_unlinkupvalFunction · 0.85

Tested by

no test coverage detected