|
MLGetFunction()
int 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.
MLGetFunction() allocates memory for the character string corresponding to the name of the head of the function. You must call MLDisownSymbol() to disown this memory.
External programs should not modify the character string s.
MLGetFunction(link, &s, &n) has the same effect as MLGetNext(link); MLGetArgCount(link, &n); MLGetSymbol(link, &s).
See The Mathematica Book: Section 2.12.4.
See also: MLGetNext.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |