simPushDoubleOntoStack

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

C++ synopsis

int simPushDoubleOntoStack(int stackHandle, double value)

Arguments

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

Return

  • -1 in case of an error.


See also: