MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lua_rawseti

Function lua_rawseti

src/Chain/libraries/glua/lapi.cpp:819–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

817
818
819LUA_API void lua_rawseti(lua_State *L, int idx, lua_Integer n) {
820 StkId o;
821 lua_lock(L);
822 api_checknelems(L, 1);
823 o = index2addr(L, idx);
824 api_check(L, ttistable(o), "table expected");
825 luaH_setint(L, hvalue(o), n, L->top - 1);
826 luaC_barrierback(L, hvalue(o), L->top - 1);
827 L->top--;
828 lua_unlock(L);
829}
830
831
832LUA_API void lua_rawsetp(lua_State *L, int idx, const void *p) {

Callers 7

addtoclibFunction · 0.85
createsearcherstableFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
createargtableFunction · 0.85
createargtableFunction · 0.85
createargtableFunction · 0.85

Calls 2

index2addrFunction · 0.85
luaH_setintFunction · 0.85

Tested by

no test coverage detected