List of functions in cellstack.inc

Function Description
CreateStack
Creates a stack structure. A stack is a LIFO (last in, first out) vector of
of items. It has O(1) insertion and O(1) removal.
PushStackCell
Pushes a value onto the end of the stack, adding a new index.
PushStackString
Pushes a string onto the end of a stack, truncating it if it is too long.
PushStackArray
Pushes an array of cells onto the end of a stack. The cells are pushed as a
block (i.e. the entire array takes up one stack slot), rather than pushing
each cell individually.
PopStackCell
Pops a cell value from a stack.
PopStackString
Pops a string value from a stack.
PopStackArray
Pops an array of cells from a stack.
IsStackEmpty
Returns if a stack is empty.
PopStack
Pops a value off a stack, ignoring it completely.
DestroyStack
Destroys a stack and frees its memory.