the structures are really opaque pointers and just passed back and forth. The only place where it is manipulated is within the real C code itself. Python should never care what its contents are. So, I don't need to do anything special.


On Tue, Jul 28, 2009 at 3:14 PM, Josh Cherry <jcherry@ncbi.nlm.nih.gov> wrote:

On Tue, 28 Jul 2009, Guillaume Yziquel wrote:

Then it means that swig doesn't know how to unwrap this pythonised wrapped struct back to C.

I'm not sure how you reach that conclusion.

You lack a typemap somewhere. But I believe you should find more details in the python module's docs. I would be very surprised if this were an arcane issue.

I doubt that.  No custom typemap should be required for a struct pointer.