alloc_stack

Function alloc_stack 

Source
pub fn alloc_stack() -> Stack
Expand description

Allocate a new stack with default capacity. Returns a pointer to the base of the stack (where first push goes).

ยงNote

The returned stack is allocated but not tracked. The memory will be leaked when the caller is done with it. This is used for temporary stacks in quotation calls and tests.