This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Listing of C Functions in the MathLink Library  /
MLGetIntegerList()

  • intMLGetIntegerList(MLINKlink,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.
  • MLGetIntegerList() allocates memory for the array of integers. You must call MLDisownIntegerList() to disown this memory.
  • External programs should not modify the array generated by MLGetIntegerList().
  • See notes for MLGetInteger().
  • See the Mathematica book: Section 2.12.4.
  • See also: MLGetIntegerArrayMLGetIntegerArrayMainBookLinkOldButtonDataMLGetIntegerArray, MLGetByteStringMLGetByteStringMainBookLinkOldButtonDataMLGetByteString.