| 572 | |
| 573 | |
| 574 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { |
| 575 | StkId o; |
| 576 | lua_lock(L); |
| 577 | o = index2adr(L, idx); |
| 578 | api_check(L, ttistable(o)); |
| 579 | setobj2s(L, L->top, luaH_getnum(hvalue(o), n)); |
| 580 | api_incr_top(L); |
| 581 | lua_unlock(L); |
| 582 | } |
| 583 | |
| 584 | |
| 585 | LUA_API void lua_createtable (lua_State *L, int narray, int nrec) { |
no test coverage detected