This feature is not supported on the Wolfram Cloud.

已经被 所取代.

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


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


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

#include "mathlink.h"

/* read a list of double-precision floating-point numbers from a link and then release the memory to MathLink for deallocation */

void f(MLINK lp)
    double *data;
    int length;

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

    /* ... */

    MLReleaseReal64List(lp, data, length);
Translate this page: