WSReleaseInteger8List (C 函数)
void WSReleaseInteger8List( WSLINK l , unsigned char * a , int n )
释放由 WSGetInteger8List() 分配的内存,以储存长度为 n 的数组 a.
范例
基本范例 (1)
#include "wstp.h"
/* A function to read a list of 8-bit integers from a link */
void f(WSLINK l)
{
unsigned char *a;
int length;
if(! WSGetInteger8List(l, &a, &length))
{ /* Unable to read the list of integers from the link */ }
/* ... */
WSReleaseInteger8List(l, a, length);
}