SetStack sets the contents of the primary stack to the contents of the provided array where the last item in the array will be the top of the stack.
(data [][]byte)
| 1498 | // SetStack sets the contents of the primary stack to the contents of the |
| 1499 | // provided array where the last item in the array will be the top of the stack. |
| 1500 | func (vm *Engine) SetStack(data [][]byte) { |
| 1501 | setStack(&vm.dstack, data) |
| 1502 | } |
| 1503 | |
| 1504 | // GetAltStack returns the contents of the alternate stack as an array where the |
| 1505 | // last item in the array is the top of the stack. |
no test coverage detected