| 852 | |
| 853 | |
| 854 | static void aux_rawset (lua_State *L, int idx, TValue *key, int n) { |
| 855 | Table *t; |
| 856 | TValue *slot; |
| 857 | lua_lock(L); |
| 858 | api_checknelems(L, n); |
| 859 | t = gettable(L, idx); |
| 860 | slot = luaH_set(L, t, key); |
| 861 | setobj2t(L, slot, s2v(L->top - 1)); |
| 862 | invalidateTMcache(t); |
| 863 | luaC_barrierback(L, obj2gco(t), s2v(L->top - 1)); |
| 864 | L->top -= n; |
| 865 | lua_unlock(L); |
| 866 | } |
| 867 | |
| 868 | |
| 869 | LUA_API void lua_rawset (lua_State *L, int idx) { |
no test coverage detected