| 562 | |
| 563 | |
| 564 | LUA_API void lua_rawget (lua_State *L, int idx) { |
| 565 | StkId t; |
| 566 | lua_lock(L); |
| 567 | t = index2adr(L, idx); |
| 568 | api_check(L, ttistable(t)); |
| 569 | setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1)); |
| 570 | lua_unlock(L); |
| 571 | } |
| 572 | |
| 573 | |
| 574 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { |
no test coverage detected