Regular API function
simPushFloatOntoStack
Description
Pushes a float 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 simPushFloatOntoStack(simInt stackHandle,simFloat 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