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

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

MLPutShortInteger()

FilledSmallSquare int MLPutShortInteger(MLINK link, int i) puts the integer i to the MathLink connection specified by link, assuming that i contains only the number of digits in the C type short.

FilledSmallSquare The argument i is typically declared as short in external programs, but must be declared as int in MLPutShortInteger() itself in order to work even in the absence of C prototypes.

FilledSmallSquare See notes for MLPutInteger().

FilledSmallSquare See Section 2.13.5.