MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / lua_settable

Function lua_settable

ThirdParty/lua/lua/lapi.c:734–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732
733
734LUA_API void lua_settable (lua_State *L, int idx) {
735 StkId t;
736 lua_lock(L);
737 api_checknelems(L, 2);
738 t = index2addr(L, idx);
739 luaV_settable(L, t, L->top - 2, L->top - 1);
740 L->top -= 2; /* pop index and value */
741 lua_unlock(L);
742}
743
744
745LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {

Callers 2

SetTableFunction · 0.85
luaL_findtableFunction · 0.85

Calls 2

index2addrFunction · 0.85
luaV_settableFunction · 0.85

Tested by

no test coverage detected