Re: Pyrex on Win7-64

Greg Ewing <[email protected]> Mon, 09 Apr 2012 23:51:52 +1200
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
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