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

Function settabsi

depends/lua/src/ldblib.c:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112static void settabsi (lua_State *L, const char *k, int v) {
113 lua_pushinteger(L, v);
114 lua_setfield(L, -2, k);
115}
116
117static void settabsb (lua_State *L, const char *k, int v) {
118 lua_pushboolean(L, v);

Callers 1

db_getinfoFunction · 0.85

Calls 2

lua_pushintegerFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected