(n int)
| 1554 | } |
| 1555 | |
| 1556 | func (ls *LState) Pop(n int) { |
| 1557 | for i := 0; i < n; i++ { |
| 1558 | if ls.GetTop() == 0 { |
| 1559 | ls.RaiseError("register underflow") |
| 1560 | } |
| 1561 | ls.reg.Pop() |
| 1562 | } |
| 1563 | } |
| 1564 | |
| 1565 | func (ls *LState) Insert(value LValue, index int) { |
| 1566 | reg := ls.indexToReg(index) |
no test coverage detected