Regular API function
simGetStackBoolValue
Description
|
Tries to retrieve the value at the top of the stack, if that value is a bool. See also the other stack functions. |
C/C++ synopsis
|
simInt simGetStackBoolValue(simInt stackHandle,simBool* boolValue) |
C/C++ parameters |
boolValue: a pointer to a location receiving the bool value.
|
C/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
|
|
Python synopsis
|
|
|