(l *State)
| 9 | ) |
| 10 | |
| 11 | func next(l *State) int { |
| 12 | CheckType(l, 1, TypeTable) |
| 13 | l.SetTop(2) |
| 14 | if l.Next(1) { |
| 15 | return 2 |
| 16 | } |
| 17 | l.PushNil() |
| 18 | return 1 |
| 19 | } |
| 20 | |
| 21 | func pairs(method string, isZero bool, iter Function) Function { |
| 22 | return func(l *State) int { |