WSTP C Functions for Exchanging Lists

Sending Lists

WSPutInteger8List() list of 8-bit integers (unsigned char *)

WSPutInteger16List() list of 16-bit integers (short *)

WSPutInteger32List() list of 32-bit integers (int *)

WSPutInteger64List() list of 64-bit integers (mlint64 *)

WSPutReal32List() list of 32-bit reals (float *)

WSPutReal64List() list of 64-bit reals (double *)

WSPutReal128List() list of quad-precision floating-point numbers

Receiving Lists

WSGetInteger8List() list of 8-bit integers (unsigned char *)

WSGetInteger16List() list of 16-bit integers (short *)

WSGetInteger32List() list of 32-bit integers (int *)

WSGetInteger64List() list of 64-bit integers (mlint64 *)

WSGetReal32List() list of 32-bit reals (float *)

WSGetReal64List() list of 64-bit reals (double *)

WSGetReal128List() list of quad-precision floating-point numbers

Releasing Memory for Lists

WSReleaseInteger8List() list of 8-bit integers (unsigned char *)

WSReleaseInteger16List() list of 16-bit integers (short *)

WSReleaseInteger32List() list of 32-bit integers (int *)

WSReleaseInteger64List() list of 64-bit integers (mlint64 *)

WSReleaseReal32List() list of 32-bit reals (float *)

WSReleaseReal64List() list of 64-bit reals (double *)

WSReleaseReal128List() list of quad-precision floating-point numbers

Related Tutorials