simPushUInt8TableOntoStack

Pushes a uint8 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 simPushUInt8TableOntoStack(int stackHandle, const unsigned char* values, int valueCnt)

Arguments

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

Return

  • -1 in case of an error.


See also: