This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Wolfram Research, Inc.

MLGetIntegerArrayMLGetLongInteger

MLGetIntegerList()

FilledSmallSquareint 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.

FilledSmallSquareMLGetIntegerList() 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 The Mathematica Book: Section 2.12.4.

FilledSmallSquare See also: MLGetIntegerArray, MLGetByteString.

MLGetIntegerArrayMLGetLongInteger