int MLGetInteger (MLINK link, int *i) gets an integer from the MathLink connection specified by link and stores it in i.
MLINK
(Mathematica MathLink C Function) MLINK is a MathLink type representing a MathLink link object.
int MLPutData (MLINK link, const char *b, int count) puts count bytes from the buffer b to the MathLink connection specified by link.
int MLPutInteger32 (MLINK link, int i) puts the 32-bit integer i to the MathLink connection specified by link.
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 MLPutReal128 (MLINK link, mlextended_double d) puts the extend-precision floating-point number d to the MathLink connection specified by link.
int MLPutReal64 (MLINK link, double x) puts the double-precision floating-point number x to the MathLink connection specified by link.
int MLPutSize (MLINK link, int len) specifies the length in bytes of the textual data to be put on link.
void MLReleaseByteArray (MLINK link, unsigned char *a, int *dims, char ** heads, int d) disowns the memory allocated by MLGetByteArray() to store the array a, its dimensions ...