MLReleaseUTF32LinkName (C 関数)
MLReleaseUTF32LinkNameはWSReleaseUTF32LinkNameに置き換えられた.
void MLReleaseUTF32LinkName(MLINK l, const unsigned int *n, int v)
MLUTF32LinkName()によって割り当てられたメモリを解放して,長さ v の配列である,UTF-32でコード化されたリンク名 n を保存する.
詳細

- リンク名 n を保存するために使われたメモリは,MLUTF32LinkName()への呼出しによって割り当てられたものでなければならない.
- MLReleaseUTF32LinkName()は,MathLinkヘッダファイルmathlink.hで宣言される.
例題
例 (1)
#include "mathlink.h"
/* A function for reading a name for a link */
void f(MLINK l)
{
const unsigned int *name;
int length;
name = MLUTF32LinkName(l, &length);
/* We check for length <= 1 here because MLUTF32LinkName
returns a string with a byte order mark */
if(name == (const unsigned int *)0 || length <= 1)
{ /* Unable to get the name of the link */ }
/* ... */
MLReleaseUTF32LinkName(l, name, length);
}