Regular API function


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