How to convert certain typedefs to Pyrex?

Greg Ewing (using news.cis.dfn.de) ckea25d02 at sneakemail.com
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
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list