MLReleaseUCS2LinkName (C 函数)
MLReleaseUCS2LinkName 已被 WSReleaseUCS2LinkName 替代.
void MLReleaseUCS2LinkName(MLINK l, const unsigned short *n, int v)
释放由 MLUCS2LinkName() 分配的内存,以存储长度为 v 的 UCS2 编码链接名称 n.
更多信息

- 用于存储链接名称 n 的内存必须已通过调用 MLUCS2LinkName()做出分配.
- MLReleaseUCS2LinkName() 在 MathLink 标头文件 mathlink.h 中被声明.
范例
基本范例 (1)
#include "mathlink.h"
/* A function for reading the name of a link */
void f(MLINK l)
{
const unsigned short *name;
int length;
name = MLUCS2LinkName(l, &length);
if(name == (const unsigned short *)0 || length == 0)
{ /* Unable to retrieve the link name */ }
/* ... */
MLReleaseUCS2LinkName(l, name, length);
}