simPushInt32TableOntoStack

Pushes an int32 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 simPushInt32TableOntoStack(int stackHandle, const int* values, int valueCnt)

Arguments

  • stackHandle: stack handle obtained with simCreateStack.
  • values: int32 array.
  • valueCnt: size of the array.

Return

  • -1 in case of an error.


See also: