| 539 | |
| 540 | |
| 541 | LUA_API void lua_gettable (lua_State *L, int idx) { |
| 542 | StkId t; |
| 543 | lua_lock(L); |
| 544 | t = index2adr(L, idx); |
| 545 | api_checkvalidindex(L, t); |
| 546 | luaV_gettable(L, t, L->top - 1, L->top - 1); |
| 547 | lua_unlock(L); |
| 548 | } |
| 549 | |
| 550 | |
| 551 | LUA_API void lua_getfield (lua_State *L, int idx, const char *k) { |
no test coverage detected