| 688 | } |
| 689 | |
| 690 | LUA_API void lua_rawgeti(lua_State *L, int idx, int n) |
| 691 | { |
| 692 | StkId t; |
| 693 | lua_lock(L); |
| 694 | t = index2addr(L, idx); |
| 695 | api_check(L, ttistable(t), "table expected"); |
| 696 | setobj2s(L, L->top, luaH_getint(hvalue(t), n)); |
| 697 | api_incr_top(L); |
| 698 | lua_unlock(L); |
| 699 | } |
| 700 | |
| 701 | LUA_API void lua_rawgetp(lua_State *L, int idx, const void *p) |
| 702 | { |
no test coverage detected