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

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /

MLCheckFunction()

FilledSmallSquare int MLCheckFunction(MLINK link, char *name, long *n) checks that a function whose head is a symbol with the specified name is on link, and stores the number of the arguments of the function in n.

FilledSmallSquare MLCheckFunction() returns 0 if the current object on the link is not a function with a symbol as a head, or if the name of the symbol does not match name.

FilledSmallSquare See Section 2.13.4.

FilledSmallSquare See also: MLGetFunction.