simPopStackItem

Removes the top item in the stack, effectively reducing the stack size by one

C++ synopsis

int simPopStackItem(int stackHandle, int count)

Arguments

  • stackHandle: stack handle obtained with simCreateStack.
  • count: number of items to pop, or 0 to clear the stack.

Return

  • -1 in case of an error, otherwise the new size of the stack.


See also: