[Pyrex] Re: Pyrex pointer problem
Edward C. Jones
edcjones at erols.com
Thu Apr 24 15:05:30 CEST 2003
Mike Rovner <mike at bindkey.com> said
> You are operating on single-linked list at C level. Since Python has a
> notion of list you better consider returning C list as a whole as
> Python list or tuple of iVals.
I am interested in wrapping things of the form
typedef struct _A {
...
} A;
typedef struct _B {
...
struct A*;
...
} B;
This includes the self-referential example I gave.
Thanks,
Ed Jones
More information about the Pyrex
mailing list