This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /

MLGetIntegerList()

FilledSmallSquare int MLGetIntegerList(MLINK link, int **a, long *n) gets a list of integers from the MathLink connection specified by link, storing the integers in the array a and the length of the list in n.

FilledSmallSquare MLGetIntegerList() allocates memory for the array of integers. You must call MLDisownIntegerList() to disown this memory.

FilledSmallSquare External programs should not modify the array generated by MLGetIntegerList().

FilledSmallSquare See notes for MLGetInteger().

FilledSmallSquare See Section 2.13.4.

FilledSmallSquare See also: MLGetIntegerArray, MLGetByteString.