WSPutInteger64Array (C 関数)
例題
例 (1)
#include "wstp.h"
/* send an array of 64-bit numbers to a link */
void f(WSLINK lp)
{
mlint64 array[2][10][2][5];
int dims[4];
int i;
for(i = 0; i < 200; i++)
{
*((mlint64 *)array + i) = i;
}
dims[0] = 2;
dims[1] = 10;
dims[2] = 2;
dims[3] = 5;
if(! WSPutInteger64Array(lp, (mlint64 *)array, (int *)dims, (char **)0, 4))
{ /* unable to send the array to lp */ }
}