| 626 | |
| 627 | |
| 628 | LUA_API void lua_getfield (lua_State *L, int idx, const char *k) { |
| 629 | StkId t; |
| 630 | lua_lock(L); |
| 631 | t = index2addr(L, idx); |
| 632 | setsvalue2s(L, L->top, luaS_new(L, k)); |
| 633 | api_incr_top(L); |
| 634 | luaV_gettable(L, t, L->top - 1, L->top - 1); |
| 635 | lua_unlock(L); |
| 636 | } |
| 637 | |
| 638 | |
| 639 | LUA_API void lua_rawget (lua_State *L, int idx) { |
no test coverage detected