| 898 | |
| 899 | |
| 900 | static 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 | |
| 913 | LUA_API void lua_rawset (lua_State *L, int idx) { |
no test coverage detected