| 724 | |
| 725 | |
| 726 | LUA_API int lua_rawget (lua_State *L, int idx) { |
| 727 | Table *t; |
| 728 | const TValue *val; |
| 729 | lua_lock(L); |
| 730 | api_checknelems(L, 1); |
| 731 | t = gettable(L, idx); |
| 732 | val = luaH_get(t, s2v(L->top - 1)); |
| 733 | L->top--; /* remove key */ |
| 734 | return finishrawget(L, val); |
| 735 | } |
| 736 | |
| 737 | |
| 738 | LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) { |
no test coverage detected