MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / lua_rawseti

Function lua_rawseti

third-party/lua-5.2.4/src/lapi.c:784–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

782
783
784LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
785 StkId t;
786 lua_lock(L);
787 api_checknelems(L, 1);
788 t = index2addr(L, idx);
789 api_check(L, ttistable(t), "table expected");
790 luaH_setint(L, hvalue(t), n, L->top - 1);
791 luaC_barrierback(L, gcvalue(t), L->top-1);
792 L->top--;
793 lua_unlock(L);
794}
795
796
797LUA_API void lua_rawsetp (lua_State *L, int idx, const void *p) {

Callers 9

getargsFunction · 0.70
luaL_refFunction · 0.70
luaL_unrefFunction · 0.70
tinsertFunction · 0.70
tremoveFunction · 0.70
packFunction · 0.70
set2Function · 0.70
ll_addtoclibFunction · 0.70
createsearcherstableFunction · 0.70

Calls 3

luaC_barrierbackFunction · 0.85
index2addrFunction · 0.70
luaH_setintFunction · 0.70

Tested by

no test coverage detected