#include "mathlink.h"/* send a one-dimensional list of 32-bit integers to a link */void f(MLINK lp){ int list[10], i; for(i = 0; i < 10; i++) list[i] = i; if(! MLPutInteger32List(lp, (int *)list, 10)) { /* unable to send the list to lp */ }}