Skip to content

Stack_New

manuel villagran edited this page Oct 3, 2019 · 1 revision

Stack_New

Stack:Stack_New(capacity = -1)

Creates a new Stack.

parameters

  • capacity = -1 The initial capacity of the stack.

returns

  • INVALID_STACK_ID If unable to allocate memory for the stack.
  • Stack:stack If success.

notes

Clone this wiki locally