Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ db_setuservalue
Function
db_setuservalue
depends/lua/src/ldblib.c:75–81 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
74
75
static int db_setuservalue (lua_State *L) {
76
luaL_checktype(L, 1, LUA_TUSERDATA);
77
luaL_checkany(L, 2);
78
lua_settop(L, 2);
79
lua_setuservalue(L, 1);
80
return 1;
81
}
82
83
84
/*
Callers
nothing calls this directly
Calls
4
luaL_checktype
Function · 0.85
luaL_checkany
Function · 0.85
lua_settop
Function · 0.85
lua_setuservalue
Function · 0.85
Tested by
no test coverage detected