(l *State)
| 38 | } |
| 39 | |
| 40 | func intPairs(l *State) int { |
| 41 | i := CheckInteger(l, 2) |
| 42 | CheckType(l, 1, TypeTable) |
| 43 | i++ // next value |
| 44 | l.PushInteger(i) |
| 45 | l.RawGetInt(1, i) |
| 46 | if l.IsNil(-1) { |
| 47 | return 1 |
| 48 | } |
| 49 | return 2 |
| 50 | } |
| 51 | |
| 52 | func finishProtectedCall(l *State, status bool) int { |
| 53 | if !l.CheckStack(1) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…