MLReleaseUTF8LinkName (C Function)
MLReleaseUTF8LinkName has been replaced by WSReleaseUTF8LinkName.
void MLReleaseUTF8LinkName(MLINK l, const unsigned char *n, int v)
releases memory allocated by MLUTF8LinkName() to store the UTF-8 encoded link name n, an array of length v.
Details

- The memory allocated to store the link name n must have been allocated by a call to MLUTF8LinkName().
- MLReleaseUTF8LinkName() is declared in the MathLink header file mathlink.h.
Examples
Basic Examples (1)
#include "mathlink.h"
/* A function for reading the name of a link */
void f(MLINK l)
{
const unsigned char *name;
int length;
name = MLUTF8LinkName(l, &length);
if(name == (const unsigned char *)0 || length == 0)
{ /* Unable to get the name of the link */ }
/* ... */
MLReleaseUTF8LinkName(l, name, length);
}