From: Albert Vernon Smith Date: 2006-03-05T22:46:30+09:00 Subject: swig & passing array of arrays Hi, I'm trying to get SWIG to create a wrapper for some C code. I have some functions which take an int** (which points to an array of arrays, and they also take the dimensions as arguments). I don't know how to do the typemap for this - I want to be able to write My_module.my_c_function([[1,2],[3,4]]) for the corresponding C function void my_c_function(int xsize, int ysize, int** aryary) Anyone have any idea how to help me? From various googling, I understand how to pass an array of ints, but passing arrays of arrays has me stumped. Thanks, -albert