[Numpy-discussion] NumPy C-API now has prefixes

Fernando Perez fperez.net at gmail.com
Fri Jul 7 21:06:58 EDT 2006


On 7/7/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
> I just committed a big change to the NumPy SVN (r2773-r2777) which adds
> the prefix npy_ or NPY_ to all names not otherwise pre-fixed.
>
> There is also a noprefix.h  header that allows you to use the names
> without the prefixes defined, as before
>
> Plus:
>
> 1) The special FLAG names with _FLAGS  now have the _FLAGS removed
> 2) The PY_ARRAY_TYPES_PREFIX is ignored.
> 3) The tMIN/tMAX macros are removed
> 4) MAX_DIMS --> NPY_MAXDIMS
> 5) OWN_DATA --> NPY_OWNDATA

Make sure scipy builds after these, I think I just saw it not build
with 'OWN_DATA' errors.  Maybe I just caught you in-between commits...

f




More information about the NumPy-Discussion mailing list