| 701 | |
| 702 | |
| 703 | LUA_API void lua_rawset (lua_State *L, int idx) { |
| 704 | StkId t; |
| 705 | lua_lock(L); |
| 706 | api_checknelems(L, 2); |
| 707 | t = index2adr(L, idx); |
| 708 | api_check(L, ttistable(t)); |
| 709 | setobj2t(L, luaH_set(L, hvalue(t), L->top-2), L->top-1); |
| 710 | luaC_barriert(L, hvalue(t), L->top-1); |
| 711 | L->top -= 2; |
| 712 | lua_unlock(L); |
| 713 | } |
| 714 | |
| 715 | |
| 716 | LUA_API void lua_rawseti (lua_State *L, int idx, int n) { |
no test coverage detected