MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / aux_rawset

Function aux_rawset

lib/lua/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.85
lua_rawsetpFunction · 0.85

Calls 2

gettableFunction · 0.85
luaH_setFunction · 0.85

Tested by

no test coverage detected