diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-07 20:04:06 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-07 20:04:06 +0000 |
commit | 46cb8b16d2ce0d0fb115910ffb3d225f82119990 (patch) | |
tree | 946e4d6cc02615b6a806b9fdf6fe2ba7fdf55f0d /numpy/core/src/arrayobject.c | |
parent | d896e9ee78d865474ab85c64a648c05834225966 (diff) | |
download | numpy-46cb8b16d2ce0d0fb115910ffb3d225f82119990.tar.gz |
Fix-up uses of Bool as return type in C-API
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index 19febf726..09216039b 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -4661,7 +4661,7 @@ PyArray_UpdateFlags(PyArrayObject *ret, int flagmask) */ /*OBJECT_API*/ -static Bool +static unsigned char PyArray_CheckStrides(int elsize, int nd, intp numbytes, intp offset, intp *dims, intp *newstrides) { @@ -7974,7 +7974,7 @@ PyArray_CanCastSafely(int fromtype, int totype) /* leaves reference count alone --- cannot be NULL*/ /*OBJECT_API*/ -static Bool +static unsigned char PyArray_CanCastTo(PyArray_Descr *from, PyArray_Descr *to) { int fromtype=from->type_num; @@ -8008,7 +8008,7 @@ PyArray_CanCastTo(PyArray_Descr *from, PyArray_Descr *to) /*OBJECT_API See if array scalars can be cast. */ -static Bool +static unsigned char PyArray_CanCastScalar(PyTypeObject *from, PyTypeObject *to) { int fromtype; |