MCPcopy Create free account
hub / github.com/Tencent/xLua / lua_rawseti

Function lua_rawseti

WebGLPlugins/lapi.c:816–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 10

createargtableFunction · 0.85
xlua_rawsetiFunction · 0.85
cacheudFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
addtoclibFunction · 0.85
createsearcherstableFunction · 0.85
make_reportFunction · 0.85
snapshotFunction · 0.85
luaopen_i64libFunction · 0.85

Calls 2

index2addrFunction · 0.85
luaH_setintFunction · 0.85

Tested by

no test coverage detected