MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / freeupval

Function freeupval

lib/lua/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.85

Calls 1

luaF_unlinkupvalFunction · 0.85

Tested by

no test coverage detected