| 647 | |
| 648 | |
| 649 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { |
| 650 | StkId t; |
| 651 | lua_lock(L); |
| 652 | t = index2addr(L, idx); |
| 653 | api_check(L, ttistable(t), "table expected"); |
| 654 | setobj2s(L, L->top, luaH_getint(hvalue(t), n)); |
| 655 | api_incr_top(L); |
| 656 | lua_unlock(L); |
| 657 | } |
| 658 | |
| 659 | |
| 660 | LUA_API void lua_rawgetp (lua_State *L, int idx, const void *p) { |
no test coverage detected