MLINK MLOpenArgcArgv (MLENV env, int argc, char ** argv, int* errno) opens a MathLink connection, taking parameters from command-line arguments.
int MLPutByteArray (MLINK link, unsigned char *a, int *dims, char ** heads, int d) puts an array of integers in the range 0\[Dash]255 to the MathLink connection specified by ...
int MLPutInteger16Array (MLINK link, short *a, int *dims, char ** heads, int d) puts an array of 16-bit integers to the MathLink connection specified by link to form a depth ...
int MLPutInteger32Array (MLINK link, int *a, int *dims, char ** heads, int d) puts an array of 32-bit integers to the MathLink connection specified by link to form a depth d ...
int MLPutInteger64Array (MLINK link, mlint64 *a, int *dims, char ** heads, int d) puts an array of 64-bit integers to the MathLink connection specified by link to form a ...
int MLPutMessage (MLINK link, int msg) sends the message msg to the link object link.
int MLPutMessageWithArg (MLINK link, int msg, int arg) sends the message msg and its argument arg to the link object link.
int MLPutReal32Array (MLINK link, float *a, int *dims, char ** heads, int d) puts an array of single-precision floating-point numbers to the MathLink connection specified by ...
int MLPutReal64Array (MLINK link, double *a, int *dims, char ** heads, int d) puts an array of double-precision floating-point numbers to the MathLink connection specified by ...
int MLPutUCS2String (MLINK link, const unsigned short *s, int n) puts a string of n 16-bit UCS-2 characters to the MathLink connection specified by link.