simGetStackItemType

Returns the type of a specific stack item

C++ synopsis

int simGetStackItemType(int stackHandle, int cIndex)

Arguments

  • stackHandle: a stack handle obtained with simCreateStack.
  • cIndex: the zero-based index of the stack item. Negative values indicate reverse counting from the top of the stack (i.e. -1 indicates the stack top)

Return


See also: