| 676 | |
| 677 | |
| 678 | LUA_API void lua_rawset (lua_State *L, int idx) { |
| 679 | StkId t; |
| 680 | lua_lock(L); |
| 681 | api_checknelems(L, 2); |
| 682 | t = index2adr(L, idx); |
| 683 | api_check(L, ttistable(t)); |
| 684 | setobj2t(L, luaH_set(L, hvalue(t), L->top-2), L->top-1); |
| 685 | luaC_barriert(L, hvalue(t), L->top-1); |
| 686 | L->top -= 2; |
| 687 | lua_unlock(L); |
| 688 | } |
| 689 | |
| 690 | |
| 691 | LUA_API void lua_rawseti (lua_State *L, int idx, int n) { |
no test coverage detected