This feature is not supported on the Wolfram Cloud.

MLReleaseReal128List 已经被 WSReleaseReal128List 所取代.

void MLReleaseReal128List(MLINK link,long double *a,int n)
释放由 MLGetReal128List() 分配的存储长度为 n 的数组 a 的内存.


  • MLReleaseReal128List() 在 MathLink 标头文件 mathlink.h 中被声明.


基本范例  (1)基本范例  (1)

#include "mathlink.h"

/* read a list 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 length;

    if(! MLGetReal128List(lp, &data, &length))
     { /* unable to read the list of floating-point numbers from lp */ }

    /* ... */

    MLReleaseReal128List(lp, data, length);