| 716 | |
| 717 | |
| 718 | l_sinline int finishrawget (lua_State *L, const TValue *val) { |
| 719 | if (isempty(val)) /* avoid copying empty items to the stack */ |
| 720 | setnilvalue(s2v(L->top)); |
| 721 | else |
| 722 | setobj2s(L, L->top, val); |
| 723 | api_incr_top(L); |
| 724 | lua_unlock(L); |
| 725 | return ttype(s2v(L->top - 1)); |
| 726 | } |
| 727 | |
| 728 | |
| 729 | static Table *gettable (lua_State *L, int idx) { |
no outgoing calls
no test coverage detected