MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / db_upvalueid

Function db_upvalueid

3rd/lua-5.4.3/src/ldblib.c:298–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296
297
298static int db_upvalueid (lua_State *L) {
299 void *id = checkupval(L, 1, 2, NULL);
300 if (id != NULL)
301 lua_pushlightuserdata(L, id);
302 else
303 luaL_pushfail(L);
304 return 1;
305}
306
307
308static int db_upvaluejoin (lua_State *L) {

Callers

nothing calls this directly

Calls 2

checkupvalFunction · 0.85
lua_pushlightuserdataFunction · 0.85

Tested by

no test coverage detected