Lisandro Dalcin wrote: > Well, at least in Cython, an enum is not compatible with all scalar > types, just with integral types.
That won't matter if you tell Pyrex that the opaque type is an int. Pyrex will think it's compatible with an enum, and the C compiler will see it as whatever type it really is. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
