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

Function aux_rawset

third-party/lua-5.4.6/src/lapi.c:896–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894
895
896static void aux_rawset (lua_State *L, int idx, TValue *key, int n) {
897 Table *t;
898 lua_lock(L);
899 api_checknelems(L, n);
900 t = gettable(L, idx);
901 luaH_set(L, t, key, s2v(L->top.p - 1));
902 invalidateTMcache(t);
903 luaC_barrierback(L, obj2gco(t), s2v(L->top.p - 1));
904 L->top.p -= n;
905 lua_unlock(L);
906}
907
908
909LUA_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