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

Function aux_rawset

third-party/lua-5.5.0/src/lapi.c:927–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925
926
927static void aux_rawset (lua_State *L, int idx, TValue *key, int n) {
928 Table *t;
929 lua_lock(L);
930 api_checkpop(L, n);
931 t = gettable(L, idx);
932 luaH_set(L, t, key, s2v(L->top.p - 1));
933 invalidateTMcache(t);
934 luaC_barrierback(L, obj2gco(t), s2v(L->top.p - 1));
935 L->top.p -= n;
936 lua_unlock(L);
937}
938
939
940LUA_API void lua_rawset (lua_State *L, int idx) {

Callers 2

lua_rawsetFunction · 0.70
lua_rawsetpFunction · 0.70

Calls 3

luaC_barrierbackFunction · 0.85
gettableFunction · 0.70
luaH_setFunction · 0.70

Tested by

no test coverage detected