Mathematica > Systems Interfaces & Deployment > C/C++ Language Interface > MathLink C Language Functions > MLPutShortInteger() >
Mathematica > Systems Interfaces & Deployment > MathLink API > MathLink C Language Functions > MLPutShortInteger() >

MLPutShortInteger()

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 .
  • 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.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF