diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-03-31 22:56:19 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-03-31 22:56:19 +0000 |
commit | f80ab5e1c4c5b51a7d02a22e6b8cb6f86daa3563 (patch) | |
tree | 3e03bb4ecad2400b0854a7e78017a9fc04c42702 /numpy/core | |
parent | dad871430574802f8d32cd515d19df77d0a006af (diff) | |
download | numpy-f80ab5e1c4c5b51a7d02a22e6b8cb6f86daa3563.tar.gz |
Add new MACRO. Fix ticket #454 by changing pkgload to a function instead of an object.
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/include/numpy/ndarrayobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/ndarrayobject.h b/numpy/core/include/numpy/ndarrayobject.h index b86f7bdd7..a9f66b487 100644 --- a/numpy/core/include/numpy/ndarrayobject.h +++ b/numpy/core/include/numpy/ndarrayobject.h @@ -1761,7 +1761,7 @@ typedef struct { #define PyDataType_ISNOTSWAPPED(d) PyArray_ISNBO(((PyArray_Descr *)(d))->byteorder) - +#define PyDataType_ISBYTESWAPPED(d) (!PyDataType_ISNOTSWAPPED(d)) /* This is the form of the struct that's returned pointed by the |