MLReleaseReal128Array (C 函数)
MLReleaseReal128Array 已经被 WSReleaseReal128Array 所取代.
void MLReleaseReal128Array(MLINK link,mlextended_double **a,int **dims,char ***heads,int *d)
释放由 MLGetReal128Array() 分配的存储维数为 dims 和标头为 heads 的数组 a 的内存.
范例
基本范例 (1)
#include "mathlink.h"
/* read an array of extended-precision floating-point numbers from a link and then release the memory to MathLink for deallocation */
void f(MLINK lp)
{
mlextended_double *data;
int *dimensions;
char **heads;
int depth;
if(! MLGetReal128Array(lp, &data, &dimensions, &heads))
{ /* Unable to get the array from lp */ }
/* ... */
MLReleaseReal128Array(lp, data, dimensions, heads, depth);
}