WSTP C Functions for Exchanging Multidimensional Arrays
Sending Arrays
WSPutInteger8Array() — 8-bit integer array (unsigned char *)
WSPutInteger16Array() — 16-bit integer array (short *)
WSPutInteger32Array() — 32-bit integer array (int *)
WSPutInteger64Array() — 64-bit integer array (mlint64 *)
WSPutReal32Array() — 32-bit array of reals (float *)
WSPutReal64Array() — 64-bit array of reals (double *)
WSPutReal128Array() — array of quad-precision floating-point numbers
Receiving Arrays
WSGetInteger8Array() — 8-bit integer array (unsigned char *)
WSGetInteger16Array() — 16-bit integer array (short *)
WSGetInteger32Array() — 32-bit integer array (int *)
WSGetInteger64Array() — 64-bit integer array (mlint64 *)
WSGetReal32Array() — 32-bit array of reals (float *)
WSGetReal64Array() — 64-bit array of reals (double *)
WSGetReal128Array() — array of quad-precision floating-point numbers
Releasing Memory for Arrays
WSReleaseInteger8Array() — 8-bit integer array (unsigned char *)
WSReleaseInteger16Array() — 16-bit integer array (short *)
WSReleaseInteger32Array() — 32-bit integer array (int *)
WSReleaseInteger64Array() — 64-bit integer array (mlint64 *)
WSReleaseReal32Array() — 32-bit array of reals (float *)
WSReleaseReal64Array() — 64-bit array of reals (double *)
WSReleaseReal128Array() — array of quad-precision floating-point numbers