Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
757
static void freeupval (lua_State *L, UpVal *uv) {
758
if (upisopen(uv))
759
luaF_unlinkupval(uv);
760
luaM_free(L, uv);
761
}
762
763
764
static void freeobj (lua_State *L, GCObject *o) {
Callers
1
freeobj
Function · 0.85
Calls
1
luaF_unlinkupval
Function · 0.85
Tested by
no test coverage detected