Regular API function
simPushDoubleOntoStack
Description
Pushes a double precision value (i.e. a Lua number) 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 simPushDoubleOntoStack(simInt stackHandle,simDouble 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