I've got this problem where I have a subroutine finish and return a 2 dimensional array of a non-predetermined size. My problem is getting this same array into another c program. Right now I have something to the effect of
/* Other code */
ptr = call_arv("qsheet", G_NOARGS, args);
where qsheet is the name of a perl subroutine, G_NOARGS tells the subroutine to take no arguments, and args is an empty argument list.
Obviously, ptr isn't getting the 2D array.
Can anyone tell me how to make it so that it will?