WSTP C Functions for Exchanging Lists

Sending Lists

(NonWLLink[WSPutInteger8List(), paclet:ref/c/WSPutInteger8List]) — list of 8-bit integers (unsigned char *)

(NonWLLink[WSPutInteger16List(), paclet:ref/c/WSPutInteger16List]) — list of 16-bit integers (short *)

(NonWLLink[WSPutInteger32List(), paclet:ref/c/WSPutInteger32List]) — list of 32-bit integers (int *)

(NonWLLink[WSPutInteger64List(), paclet:ref/c/WSPutInteger64List]) — list of 64-bit integers ((NonWLLink[mlint64, paclet:ref/c/mlint64]) *)

(NonWLLink[WSPutReal32List(), paclet:ref/c/WSPutReal32List]) — list of 32-bit reals (float *)

(NonWLLink[WSPutReal64List(), paclet:ref/c/WSPutReal64List]) — list of 64-bit reals (double *)

(NonWLLink[WSPutReal128List(), paclet:ref/c/WSPutReal128List]) — list of quad-precision floating-point numbers

Receiving Lists

(NonWLLink[WSGetInteger8List(), paclet:ref/c/WSGetInteger8List]) — list of 8-bit integers (unsigned char *)

(NonWLLink[WSGetInteger16List(), paclet:ref/c/WSGetInteger16List]) — list of 16-bit integers (short *)

(NonWLLink[WSGetInteger32List(), paclet:ref/c/WSGetInteger32List]) — list of 32-bit integers (int *)

(NonWLLink[WSGetInteger64List(), paclet:ref/c/WSGetInteger64List]) — list of 64-bit integers ((NonWLLink[mlint64, paclet:ref/c/mlint64]) *)

(NonWLLink[WSGetReal32List(), paclet:ref/c/WSGetReal32List]) — list of 32-bit reals (float *)

(NonWLLink[WSGetReal64List(), paclet:ref/c/WSGetReal64List]) — list of 64-bit reals (double *)

(NonWLLink[WSGetReal128List(), paclet:ref/c/WSGetReal128List]) — list of quad-precision floating-point numbers

Releasing Memory for Lists

(NonWLLink[WSReleaseInteger8List(), paclet:ref/c/WSReleaseInteger8List]) — list of 8-bit integers (unsigned char *)

(NonWLLink[WSReleaseInteger16List(), paclet:ref/c/WSReleaseInteger16List]) — list of 16-bit integers (short *)

(NonWLLink[WSReleaseInteger32List(), paclet:ref/c/WSReleaseInteger32List]) — list of 32-bit integers (int *)

(NonWLLink[WSReleaseInteger64List(), paclet:ref/c/WSReleaseInteger64List]) — list of 64-bit integers ((NonWLLink[mlint64, paclet:ref/c/mlint64]) *)

(NonWLLink[WSReleaseReal32List(), paclet:ref/c/WSReleaseReal32List]) — list of 32-bit reals (float *)

(NonWLLink[WSReleaseReal64List(), paclet:ref/c/WSReleaseReal64List]) — list of 64-bit reals (double *)

(NonWLLink[WSReleaseReal128List(), paclet:ref/c/WSReleaseReal128List]) — list of quad-precision floating-point numbers