aboutsummaryrefslogtreecommitdiff
path: root/pkg/pointer/stack.go
blob: b08b354fa9f15680ac1ff2736bf0d278258d8c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package pointer

func (ss *StackStack) Pop() int {
	return ss.head.Pop()
}

func (ss *StackStack) Push(v int) {
	ss.head.Push(v)
}

func (s *StackStack) YCommandPick(n int, h int) {
	s.head.YCommandPick(n, h)
}