MCPcopy Create free account
hub / github.com/DFHack/dfhack / db_upvalueid

Function db_upvalueid

depends/lua/src/ldblib.c:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282
283
284static int db_upvalueid (lua_State *L) {
285 int n = checkupval(L, 1, 2);
286 lua_pushlightuserdata(L, lua_upvalueid(L, 1, n));
287 return 1;
288}
289
290
291static int db_upvaluejoin (lua_State *L) {

Callers

nothing calls this directly

Calls 3

checkupvalFunction · 0.85
lua_pushlightuserdataFunction · 0.85
lua_upvalueidFunction · 0.85

Tested by

no test coverage detected