MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / setfield

Function setfield

lua/loslib.c:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102*/
103
104static void setfield (lua_State *L, const char *key, int value) {
105 lua_pushinteger(L, value);
106 lua_setfield(L, -2, key);
107}
108
109static void setboolfield (lua_State *L, const char *key, int value) {
110 if (value < 0) /* undefined? */

Callers 1

os_dateFunction · 0.85

Calls 2

lua_pushintegerFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected