MathLink C Functions for Exchanging Lists

 

ReferenceReference

Sending Lists

MLPutIntegerList(), MLPutInteger32List() list of 32-bit integers (int *)

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

MLPutInteger64List() list of 64-bit integers

MLPutReal32List() list of reals (float *)

MLPutReal64List() list of reals (double *)

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

Receiving Lists

MLGetIntegerList(), MLGetInteger32List() list of 32-bit integers (int *)

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

MLGetInteger64List() list of 64-bit integers

MLGetReal32List() list of reals (float *)

MLGetReal64List() list of reals (double *)

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

Releasing Memory for Lists

MLReleaseInteger32List() list of integers (int *)

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

MLReleaseInteger64List() list of 64-bit short integers (short *)

MLReleaseReal32List() list of reals (float *)

MLReleaseReal64List() list of reals (double *)

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

New to Mathematica? Find your learning path »
Have a question? Ask support »