From 46cb8b16d2ce0d0fb115910ffb3d225f82119990 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Fri, 7 Jul 2006 20:04:06 +0000 Subject: Fix-up uses of Bool as return type in C-API --- numpy/core/src/arrayobject.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/core/src/arrayobject.c') 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; -- cgit v1.2.1