stl.stack_initΒΆ
Initializes a stack of size n (maximal capacity of n hexes / return-addresses).
n is the size of the stack.
SignatureΒΆ
def stack_init n { ... }
Defined in ptrlib.fj β lines 15β17 (view on GitHub).
ComplexityΒΆ
Time:
O(1)Space:
n+w/4
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def stack_init n {
hex.pointers.stack_init n
}
Depends onΒΆ
Used byΒΆ
Example usesΒΆ
stl.startup_and_init_allinrunlib.fj
β Previous: stl.ptr_init
Next: stl.call/1 β