Init allocates the initial callstack capacity.
(n int)
| 181 | |
| 182 | // Init allocates the initial callstack capacity. |
| 183 | func (s *Callstack) Init(n int) { |
| 184 | *s = make(Callstack, 0, n) |
| 185 | } |
| 186 | |
| 187 | // PushFrame pushes a new from to the call stack. |
| 188 | func (s *Callstack) PushFrame(f Frame) { |
no outgoing calls