[Cython] Wrapping C++ Classes

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jul 16 02:57:59 CEST 2008


Chris Swierczewski wrote:
> For example, when compiling on a Linux system one must write
> 
> #define __LINUX

I would write a small .h file containing the appropriate
#define and use a 'cdef extern from' declaration to include
it.

-- 
Greg


More information about the Cython-dev mailing list