Regular API function

simPushBoolOntoStack

Description Pushes a bool value onto the stack. The value will then be located at the top of the stack. See also the other stack functions.
C/C++
synopsis
simInt simPushBoolOntoStack(simInt stackHandle,simBool value)
C/C++
parameters
stackHandle: a stack handle obtained with simCreateStack.
value: the value to push.
C/C++
return value
-1 in case of an error.
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis