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

Function lua_settable

lua/lapi.c:652–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650
651
652LUA_API void lua_settable (lua_State *L, int idx) {
653 StkId t;
654 lua_lock(L);
655 api_checknelems(L, 2);
656 t = index2adr(L, idx);
657 api_checkvalidindex(L, t);
658 luaV_settable(L, t, L->top - 2, L->top - 1);
659 L->top -= 2; /* pop index and value */
660 lua_unlock(L);
661}
662
663
664LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {

Callers 15

init_cstringFunction · 0.85
init_datetimeFunction · 0.85
init_intervalymFunction · 0.85
init_intervaldsFunction · 0.85
init_intFunction · 0.85
init_realFunction · 0.85
init_decimalFunction · 0.85
luaL_findtableFunction · 0.85
copy_state_tableFunction · 0.85
db_copyrowFunction · 0.85
db_bootstrapFunction · 0.85
init_db_funcsFunction · 0.85

Calls 2

index2adrFunction · 0.85
luaV_settableFunction · 0.85

Tested by

no test coverage detected