| 894 | |
| 895 | |
| 896 | static 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 | |
| 909 | LUA_API void lua_rawset (lua_State *L, int idx) { |
no test coverage detected