simGetStackBoolValue

Tries to retrieve the value at the top of the stack, if that value is a bool

C++ synopsis

int simGetStackBoolValue(int stackHandle, bool* boolValue)

Arguments

  • stackHandle: a stack handle obtained with simCreateStack.
  • boolValue: a pointer to a location receiving the bool value.

Return

  • -1 in case of an error, 0 if the value is not a bool, 1 otherwise.


See also: