|
SOLUTIONS
|
MATHEMATICA MATHLINK C FUNCTION
MLDestroyMark()
DetailsDetails
- Calling MLDestroyMark() releases memory associated with the storage of expressions recorded after the mark.
- MLDestroyMark() is declared in the MathLink header file mathlink.h.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
#include "mathlink.h"
/* create a mark in a link, read some data, then back up */
void f(MLINK lp)
{
MLMARK mark;
mark = MLCreateMark(lp);
if(mark == (MLMARK)0)
{ /* mark creation failed */ }
/* read data from the link */
MLSeekToMark(lp, mark, 0);
MLDestroyMark(lp, mark);
}
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
