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

MLGetIntegerMLGetIntegerList

MLGetIntegerArray()

FilledSmallSquareint MLGetIntegerArray(MLINK link, int **a, long **dims, char ***heads, long *d) gets an array of integers from the MathLink connection specified by link, storing the array in a, its dimensions in dims and its depth in d.

FilledSmallSquare The array a is laid out in memory like a C array declared as int a[m][n]... .

FilledSmallSquareheads gives a list of character strings corresponding to the names of symbols that appear as heads at each level in the array.

FilledSmallSquareMLGetIntegerArray() allocates memory which must be disowned by calling MLDisownIntegerArray().

FilledSmallSquare External programs should not modify the arrays generated by MLGetIntegerArray().

FilledSmallSquare See The Mathematica Book: Section 2.12.4.

FilledSmallSquare See also: MLGetIntegerList.

MLGetIntegerMLGetIntegerList