|
MLGetUnicodeString()
int MLGetUnicodeString(MLINK link, unsigned short **s, long *n) gets a character string from the MathLink connection specified by link, storing the string in s as a sequence of 16-bit Unicode characters.
MLGetUnicodeString() allocates memory for the character string. You must call MLDisownUnicodeString() to disown this memory.
External programs should not modify strings generated by MLGetUnicodeString().
MLGetUnicodeString() stores all characters directly in 16-bit Unicode form.
8-bit ASCII characters are stored with a null high-order byte.
See Section 2.13.5.
See also: MLGetString, MLGetByteString.
|