Regular API function
simPushInt32OntoStack
Description
Pushes an int32 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 simPushInt32OntoStack(simInt stackHandle,simInt 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