[Pyrex] struct containing pointer to function

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Oct 9 04:57:51 CEST 2003


> In a related note, how much chance is there for a C++ clean (and perhaps
> C++ method support) in Pyrex next(0.9)?

I don't know. As for C++ clean, that will depend on how
severe the problems are.

> I've noticed that compiling a trivial .pyx file, g++ complains only
> about one duplicate name. ;)

If you mean the char**__pyx_f, yes, that's unfortunate.

Does anyone know what the right way is to do this in
C++ (forward declare a static variable that you're going
to initialise later)?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list