Lisandro Dalcin wrote:
> Could the generated code be changed to say like this ??:
>
> typedef struct PyFooObject {
> PyObject_HEAD
> int bar;
> } PyFooObject;
You should be able to get that already by using 'ctypedef'
instead of 'cdef', i.e.
ctypedef public api class Foo [type PyFoo_Type, object PyFooObject]:
...
--
Greg