Re: [Numpy-discussion] How to include numpy headers in C across versions 1.1, 1.2, and 1.3

2009-05-11 Thread David Cournapeau
Charles R Harris wrote: > > > On Mon, May 11, 2009 at 4:49 PM, Peter Wang > wrote: > > Hey guys, > > I've got a small C extension that uses isnan() and (in numpy 1.1) had > been importing it from ufuncobject.h. I see that it has now moved > into npy_mat

Re: [Numpy-discussion] How to include numpy headers in C across versions 1.1, 1.2, and 1.3

2009-05-11 Thread Charles R Harris
On Mon, May 11, 2009 at 4:49 PM, Peter Wang wrote: > Hey guys, > > I've got a small C extension that uses isnan() and (in numpy 1.1) had > been importing it from ufuncobject.h. I see that it has now moved > into npy_math.h in 1.3. > > What is the best way to ensure that I can reliably include th

[Numpy-discussion] How to include numpy headers in C across versions 1.1, 1.2, and 1.3

2009-05-11 Thread Peter Wang
Hey guys, I've got a small C extension that uses isnan() and (in numpy 1.1) had been importing it from ufuncobject.h. I see that it has now moved into npy_math.h in 1.3. What is the best way to ensure that I can reliably include this function across versions 1.1, 1.2, and 1.3? (Checking