| 706 | |
| 707 | |
| 708 | static int finishrawget (lua_State *L, const TValue *val) { |
| 709 | if (isempty(val)) /* avoid copying empty items to the stack */ |
| 710 | setnilvalue(s2v(L->top)); |
| 711 | else |
| 712 | setobj2s(L, L->top, val); |
| 713 | api_incr_top(L); |
| 714 | lua_unlock(L); |
| 715 | return ttype(s2v(L->top - 1)); |
| 716 | } |
| 717 | |
| 718 | |
| 719 | static Table *gettable (lua_State *L, int idx) { |
no outgoing calls
no test coverage detected