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

Function trynewtbcupval

extlibs/lua/src/lfunc.c:184–186  ·  view source on GitHub ↗

** Try to create a to-be-closed upvalue ** (can raise a memory-allocation error) */

Source from the content-addressed store, hash-verified

182** (can raise a memory-allocation error)
183*/
184static void trynewtbcupval (lua_State *L, void *ud) {
185 newupval(L, 1, cast(StkId, ud), &L->openupval);
186}
187
188
189/*

Callers

nothing calls this directly

Calls 1

newupvalFunction · 0.85

Tested by

no test coverage detected