MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / aux_rawset

Function aux_rawset

xrepo/packages/l/lua/port/lua/src/lapi.c:900–910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898
899
900static void aux_rawset (lua_State *L, int idx, TValue *key, int n) {
901 Table *t;
902 lua_lock(L);
903 api_checknelems(L, n);
904 t = gettable(L, idx);
905 luaH_set(L, t, key, s2v(L->top - 1));
906 invalidateTMcache(t);
907 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1));
908 L->top -= n;
909 lua_unlock(L);
910}
911
912
913LUA_API void lua_rawset (lua_State *L, int idx) {

Callers 2

lua_rawsetFunction · 0.85
lua_rawsetpFunction · 0.85

Calls 3

gettableFunction · 0.85
luaC_barrierbackFunction · 0.85
luaH_setFunction · 0.70

Tested by

no test coverage detected