MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaF_newupval

Function luaF_newupval

freebsd/contrib/openzfs/module/lua/lfunc.c:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38UpVal *luaF_newupval (lua_State *L) {
39 UpVal *uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), NULL, 0)->uv;
40 uv->v = &uv->u.value;
41 setnilvalue(uv->v);
42 return uv;
43}
44
45
46UpVal *luaF_findupval (lua_State *L, StkId level) {

Callers 1

f_parserFunction · 0.70

Calls 1

luaC_newobjFunction · 0.85

Tested by

no test coverage detected