[Numpy-discussion] Easy way to get NumPy code to compile
Travis Oliphant
oliphant at ee.byu.edu
Fri Jul 7 21:58:51 EDT 2006
If you have been a user of NumPy. The easy way to update your code so
that it compiles even with the latest changes to the naming-scheme is to
replace
#include "numpy/arrayobject.h"
with
#include "numpy/noprefix.h"
This will generate the prefix-less names (and the other _FLAGS and
OWN_DATA names that your code may depend on). It also includes
arrayobject.h and so there is no need to do that twice.
This should help people who already have code that works with NumPy.
-Travis
More information about the NumPy-Discussion
mailing list