| 888 | |
| 889 | |
| 890 | static 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 | |
| 903 | LUA_API void lua_rawset (lua_State *L, int idx) { |
no test coverage detected