simPushDoubleTableOntoStack

Pushes a double-precision array onto the stack, as a table filled with Lua numbers. The table will then be located at the top of the stack

C++ synopsis

int simPushDoubleTableOntoStack(int stackHandle, const double* values, int valueCnt)

Arguments

  • stackHandle: stack handle obtained with simCreateStack.
  • values: double-precision array.
  • valueCnt: size of the array.

Return

  • -1 in case of an error.


See also: