Regular API function

simGetStackBoolValue

Description Tries to retrieve the value at the top of the stack, if that value is a Boolean. See also the other stack functions.
C synopsis simInt simGetStackBoolValue(simInt stackHandle,simBool* boolValue)
C parameters
stackHandle: a stack handle obtained with simCreateStack.
boolValue: a pointer to a location receiving the bool value.
C return value
-1 in case of an error, 0 if the value is not a bool, 1 otherwise.
Lua synopsis -
Lua parameters
-
Lua return values
-

All regular API functions on one page