int MLGetInteger32 (MLINK link, int *i) gets a 32-bit integer from the MathLink connection specified by link and stores it in i.
int MLGetInteger (MLINK link, int *i) gets an integer from the MathLink connection specified by link and stores it in i.
int MLGetNext (MLINK link) goes to the next object on link and returns its type.
int MLGetReal128 (MLINK link, mlextended_double *d) gets an extended-precision floating-point number from link and stores it in d.
int MLGetReal32 (MLINK link, float *x) gets a single-precision floating-point number from link and stores it as a float in x.
int MLGetReal (MLINK link, double *x) gets a floating-point number from the MathLink connection specified by link and stores it in x.
int MLGetString (MLINK link, const char ** s) gets a character string from the MathLink connection specified by link, storing the string in s.
int MLGetUCS2String (MLINK link, const unsigned short ** s, int *n) gets a character string from the MathLink connection specified by link, storing the string in s as a ...
int MLGetUTF16Symbol (MLINK link, const unsigned short ** s, int *n, int *c) gets a UTF-16 character string corresponding to the name of a symbol from the MathLink connection ...
int MLPutByteString (MLINK link, const unsigned char *s, int n) puts a string of n characters starting from location s to the MathLink connection specified by link.