MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / lua_rawseti

Function lua_rawseti

3rd/lua-5.4.3/src/lapi.c:915–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913
914
915LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) {
916 Table *t;
917 lua_lock(L);
918 api_checknelems(L, 1);
919 t = gettable(L, idx);
920 luaH_setint(L, t, n, s2v(L->top - 1));
921 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1));
922 L->top--;
923 lua_unlock(L);
924}
925
926
927LUA_API int lua_setmetatable (lua_State *L, int objindex) {

Callers 7

PushDiagnosticToLuaFunction · 0.85
spell_suggestFunction · 0.85
createargtableFunction · 0.85
luaL_refFunction · 0.85
luaL_unrefFunction · 0.85
addtoclibFunction · 0.85
createsearcherstableFunction · 0.85

Calls 2

gettableFunction · 0.85
luaH_setintFunction · 0.85

Tested by

no test coverage detected