[Pyrex] ANN: Pyrex 0.9.4 - LValue Casts are Dead!
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Apr 19 10:15:00 CEST 2006
Lenard Lindstrom wrote:
> It is a given that C++ compilers are not compatible. But a Pyrex
> module compiled with the same C++ compiler as a dynamic library can
> call its functions.
It may work if the declarations are from an external
.h file, but this is not an intentionally supported
feature.
In 0.9.4, external declarations not inside a "cdef extern
from" block are wrapped in "extern C" when compiled as C++.
Eventually there will be a way of explicitly declaring
external linkages as C or C++.
--
Greg
More information about the Pyrex
mailing list