in reply to C Functions with variable argument list in perlxs
char ** typemap in perlxs shows a couple of ways to do it.