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 /

MLPutInteger()

FilledSmallSquare int MLPutInteger(MLINK link, int i) puts the integer i to the MathLink connection specified by link.

FilledSmallSquare You can send arbitrary-precision integers to Mathematica by giving lists of digits, then converting them to numbers using FromDigits.

FilledSmallSquare See Section 2.13.4 and Section 2.13.12.

FilledSmallSquare See also: MLGetInteger, MLPutShortInteger, MLPutLongInteger, MLPutIntegerList.