(n int)
| 1341 | } |
| 1342 | |
| 1343 | func (ls *LState) Pop(n int) { |
| 1344 | for i := 0; i < n; i++ { |
| 1345 | if ls.GetTop() == 0 { |
| 1346 | ls.RaiseError("register underflow") |
| 1347 | } |
| 1348 | ls.reg.Pop() |
| 1349 | } |
| 1350 | } |
| 1351 | |
| 1352 | func (ls *LState) Insert(value LValue, index int) { |
| 1353 | reg := ls.indexToReg(index) |
no test coverage detected