MLReleaseLogFileNameForLink (C 函数)
MLReleaseLogFileNameForLink 已经被 WSReleaseLogFileNameForLink 所取代.
void MLReleaseLogFileNameForLink(MLINK l, const char *n)
releases memory allocated by MLLogFileNameForLink() to store the log name in n for the MathLink connection specified by l.
更多信息
- The memory allocated to store the name n must have been created by a call to MLLogFileNameForLink().
- MLReleaseLogFileNameForLink() is declared in the MathLink header file mathlink.h.
范例
基本范例 (1)
#include "mathlink.h"
/* A function for generating a log file name for a link */
void f(MLINK l)
{
const char *name;
if(! MLLogFileNameForLink(l, &name))
{ /* Unable to get log file name for link */ }
/* ... */
MLReleaseLogFileNameForLink(l, name);
}