How to access an Array and a struct within a struct wrapped by Swig ?

jparker104 at jparker104 at
Tue Aug 19 16:37:20 CEST 2008

On Aug 17, 11:30 pm, emmanuel.rivo... at wrote:
> Anish Chapagain, I already know how to use structure, as my example
> shown it.
> I had trouble only with the nested structures, and it was coz of
> missing typedef (ie: Swig need C struct declaration, not C++).
> And I still cannot find how to get my arrays... :-S

I was having the same problem with arrays and found a workaround here:
slide 39, "Helper Functions" I got it to work, hope this helps

More information about the Python-list mailing list