| 587 | |
| 588 | |
| 589 | LUA_API void lua_rawget (lua_State *L, int idx) { |
| 590 | StkId t; |
| 591 | lua_lock(L); |
| 592 | t = index2adr(L, idx); |
| 593 | api_check(L, ttistable(t)); |
| 594 | setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); |
| 595 | lua_unlock(L); |
| 596 | } |
| 597 | |
| 598 | |
| 599 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { |
no test coverage detected