* registry operations {{{ */
()
| 1239 | /* registry operations {{{ */ |
| 1240 | |
| 1241 | func (ls *LState) GetTop() int { |
| 1242 | return ls.reg.Top() - ls.currentLocalBase() |
| 1243 | } |
| 1244 | |
| 1245 | func (ls *LState) SetTop(idx int) { |
| 1246 | base := ls.currentLocalBase() |
no test coverage detected