| 671 | |
| 672 | |
| 673 | static int finishrawget (lua_State *L, const TValue *val) { |
| 674 | if (isempty(val)) /* avoid copying empty items to the stack */ |
| 675 | setnilvalue(s2v(L->top)); |
| 676 | else |
| 677 | setobj2s(L, L->top, val); |
| 678 | api_incr_top(L); |
| 679 | lua_unlock(L); |
| 680 | return ttype(s2v(L->top - 1)); |
| 681 | } |
| 682 | |
| 683 | |
| 684 | static Table *gettable (lua_State *L, int idx) { |
no outgoing calls
no test coverage detected