void main_sink(twoints * * data_ptr);void main(){twoints * data;{twoints * data_buf=(twoints *)ALLOCA(100*sizeof(twoints));{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}main_sink(&data);}void main_sink(twoints * * data_ptr){twoints * data=*data_ptr;printStructLine(&data[0]);delete [] data;}
void main_sink(twoints * * data);static void main(){twoints * data;{twoints * data_buf=new twoints[100];{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}main_sink(&data);}void main_sink(twoints * * data_ptr){twoints * data=*data_ptr;printStructLine(&data[0]);delete [] data;}