MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_rawseti

Function lua_rawseti

extlibs/lua/src/lapi.c:881–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879
880
881LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) {
882 Table *t;
883 lua_lock(L);
884 api_checknelems(L, 1);
885 t = gettable(L, idx);
886 luaH_setint(L, t, n, s2v(L->top - 1));
887 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1));
888 L->top--;
889 lua_unlock(L);
890}
891
892
893LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 6

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

Calls 2

gettableFunction · 0.85
luaH_setintFunction · 0.85

Tested by

no test coverage detected