How to convert certain typedefs to Pyrex?

Greg Ewing (using ckea25d02 at
Mon Apr 7 05:21:56 CEST 2003

Edward C. Jones wrote:
> How do I treat the following typedefs in Pyrex?
> typedef struct _IplTileInfo IplTileInfo;
> typedef struct _CvContourScanner* CvContourScanner;
> typedef struct CvPOSITObject CvPOSITObject;

ctypedef struct IplTileInfo
cdef struct _CvContourScanner
ctypedef _CvContourScanner *CvContourScanner
ctypedef struct CvPOSITObject

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list