simPushInt32OntoStack

Pushes an int32 value (i.e. a Lua number) onto the stack. The value will then be located at the top of the stack

C++ synopsis

int simPushInt32OntoStack(int stackHandle, int value)

Arguments

  • stackHandle: stack handle obtained with simCreateStack.
  • value: value to push.

Return

  • -1 in case of an error.


See also: