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

Function aux_rawset

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

Source from the content-addressed store, hash-verified

888
889
890static void aux_rawset (lua_State *L, int idx, TValue *key, int n) {
891 Table *t;
892 lua_lock(L);
893 api_checknelems(L, n);
894 t = gettable(L, idx);
895 luaH_set(L, t, key, s2v(L->top - 1));
896 invalidateTMcache(t);
897 luaC_barrierback(L, obj2gco(t), s2v(L->top - 1));
898 L->top -= n;
899 lua_unlock(L);
900}
901
902
903LUA_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