Mathematica > Systems Interfaces & Deployment > C/C++ Language Interface > MathLink C Language Functions > MLCheckFunction() >
Mathematica > Systems Interfaces & Deployment > MathLink API > MathLink C Language Functions > MLCheckFunction() >

MLCheckFunction()

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.
  • 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.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF