Ok, Swig needs the structure to be declared like this : typedef struct SIn { int in1, in2; } SIn;
Else, it doesn't understand it's a structure... :-S Now, I can write to it. I also found out that Swig didn't allow to write to the array : http://www.swig.org/Doc1.3/SWIG.html#SWIG_nn34 ... :-S So I just have to find out how to read the array, and I'll be all good..! -- http://mail.python.org/mailman/listinfo/python-list