#include "mathlink.h"
/* read a list of 64-bit integers from a link */
void f(MLINK lp)
{
mlint64 *data;
int length;
if(! MLGetInteger64List(lp, &data, &length))
{
/* unable to read the integer list from lp */
return;
}
/* ... */
MLReleaseInteger64List(lp, data, length);
}