This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Wolfram Research, Inc.



FilledSmallSquareint MLGetFunction(MLINK link, char **s, long *n) gets a function with a symbol as a head from the MathLink connection specified by link, storing the name of the symbol in s and the number of arguments of the function in n.

FilledSmallSquareMLGetFunction() allocates memory for the character string corresponding to the name of the head of the function. You must call MLDisownSymbol() to disown this memory.

FilledSmallSquare External programs should not modify the character string s.

FilledSmallSquareMLGetFunction(link, &s, &n) has the same effect as MLGetNext(link); MLGetArgCount(link, &n); MLGetSymbol(link, &s).

FilledSmallSquare See The Mathematica Book: Section 2.12.4.

FilledSmallSquare See also: MLGetNext.