WSPutShortInteger()

int WSPutShortInteger(WSLINK link,int i)

puts the integer i to the WSTP connection specified by link, assuming that i contains only the number of digits in the C type .

Details

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

Tutorials