(L *LState)
| 236 | } |
| 237 | |
| 238 | func pairsaux(L *LState) int { |
| 239 | tb := L.CheckTable(1) |
| 240 | key, value := tb.Next(L.Get(2)) |
| 241 | if key == LNil { |
| 242 | return 0 |
| 243 | } else { |
| 244 | L.Pop(1) |
| 245 | L.Push(key) |
| 246 | L.Push(key) |
| 247 | L.Push(value) |
| 248 | return 2 |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | func basePairs(L *LState) int { |
| 253 | tb := L.CheckTable(1) |
nothing calls this directly
no test coverage detected
searching dependent graphs…