| 610 | |
| 611 | |
| 612 | LUA_API int lua_gettable (lua_State *L, int idx) { |
| 613 | StkId t; |
| 614 | lua_lock(L); |
| 615 | t = index2addr(L, idx); |
| 616 | luaV_gettable(L, t, L->top - 1, L->top - 1); |
| 617 | lua_unlock(L); |
| 618 | return ttnov(L->top - 1); |
| 619 | } |
| 620 | |
| 621 | |
| 622 | LUA_API int lua_getfield (lua_State *L, int idx, const char *k) { |
no test coverage detected