void MLReleaseByteSymbol(MLINK link, const unsigned char *s, int len) 記号の名前に対応する文字列s を保持するために,MLGetByteSymbol()で割り当てられたメモリを解放する.
#include "mathlink.h"/* read a symbol from a link and then release the memory to MathLink for deallocation */void f(MLINK lp){ unsigned char *sym; int len; if(! MLGetByteSymbol(lp, &sym, &len)) { /* unable to read a symbol from lp */ } /* ... */ MLReleaseByteSymbol(lp, sym, len);}
MLGetByteString()
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »