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

Function db_getuservalue

depends/lua/src/ldblib.c:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66static int db_getuservalue (lua_State *L) {
67 if (lua_type(L, 1) != LUA_TUSERDATA)
68 lua_pushnil(L);
69 else
70 lua_getuservalue(L, 1);
71 return 1;
72}
73
74
75static int db_setuservalue (lua_State *L) {

Callers

nothing calls this directly

Calls 3

lua_typeFunction · 0.85
lua_pushnilFunction · 0.85
lua_getuservalueFunction · 0.85

Tested by

no test coverage detected