[Pyrex] Pyrex on Win7-64
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Apr 9 13:51:52 CEST 2012
Stefan Behnel wrote:
> Assuming that Pm_Poll() returns a PmError value, this would indicate that
> Pyrex fails to reinterpret an enum value as a bool value here.
I made some of Pyrex's type compatibility rules a bit stricter
than C's in a few places, so that Pyrex output can be compiled
as C++. One of the affected areas is int/enum compatibility --
they're not as freely interchangeable as they are in C. Type
casts may be needed in some places.
--
Greg
More information about the Pyrex
mailing list