Re: [Numpy-discussion] Cython question

2012-02-09 Thread Charles R Harris
On Thu, Feb 9, 2012 at 8:35 AM, mark florisson wrote: > On 9 February 2012 15:29, Charles R Harris > wrote: > > Hi All, > > > > Does anyone know how to make Cython emit a C macro? I would like to be > able > > to > > > > #define NO_DEPRECATED_API > > > > and can do so by including a header file o

Re: [Numpy-discussion] Cython question

2012-02-09 Thread mark florisson
On 9 February 2012 15:29, Charles R Harris wrote: > Hi All, > > Does anyone know how to make Cython emit a C macro? I would like to be able > to > > #define NO_DEPRECATED_API > > and can do so by including a header file or futzing with the generator > script, but I was wondering if there was an ea

[Numpy-discussion] Cython question

2012-02-09 Thread Charles R Harris
Hi All, Does anyone know how to make Cython emit a C macro? I would like to be able to #define NO_DEPRECATED_API and can do so by including a header file or futzing with the generator script, but I was wondering if there was an easy way to do it in Cython. Chuck