MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setfield

Function setfield

Source/Misc/lua/src/lua.c:13522–13525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13520*/
13521
13522static void setfield (lua_State *L, const char *key, int value) {
13523lua_pushinteger(L, value);
13524lua_setfield(L, -2, key);
13525}
13526
13527static void setboolfield (lua_State *L, const char *key, int value) {
13528if (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