diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-08 00:49:35 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-08 00:49:35 +0000 |
commit | d1b492038476e0da520c97549e39c9284ae64e18 (patch) | |
tree | c2c94e9d551179c8552d5a4d7844db7a15f5993f /numpy/f2py/src/fortranobject.h | |
parent | a29b0e2bf884c5d43d07e5fe7c88344b6dd8bde8 (diff) | |
download | numpy-d1b492038476e0da520c97549e39c9284ae64e18.tar.gz |
Fix f2py to use new names
Diffstat (limited to 'numpy/f2py/src/fortranobject.h')
-rw-r--r-- | numpy/f2py/src/fortranobject.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/f2py/src/fortranobject.h b/numpy/f2py/src/fortranobject.h index 353b2a64b..73d4fad60 100644 --- a/numpy/f2py/src/fortranobject.h +++ b/numpy/f2py/src/fortranobject.h @@ -58,9 +58,9 @@ Author: Pearu Peterson <pearu@cens.ioc.ee> #define F2PY_MAX_DIMS 40 -typedef void (*f2py_set_data_func)(char*,intp*); +typedef void (*f2py_set_data_func)(char*,npy_intp*); typedef void (*f2py_void_func)(void); -typedef void (*f2py_init_func)(int*,intp*,f2py_set_data_func,int*); +typedef void (*f2py_init_func)(int*,npy_intp*,f2py_set_data_func,int*); /*typedef void* (*f2py_c_func)(void*,...);*/ @@ -70,7 +70,7 @@ typedef struct { char *name; /* attribute (array||routine) name */ int rank; /* array rank, 0 for scalar, max is F2PY_MAX_DIMS, || rank=-1 for Fortran routine */ - struct {intp d[F2PY_MAX_DIMS];} dims; /* dimensions of the array, || not used */ + struct {npy_intp d[F2PY_MAX_DIMS];} dims; /* dimensions of the array, || not used */ int type; /* PyArray_<type> || not used */ char *data; /* pointer to array || Fortran routine */ f2py_init_func func; /* initialization function for @@ -108,7 +108,7 @@ typedef struct { #define F2PY_INTENT_INPLACE 256 extern PyArrayObject* array_from_pyobj(const int type_num, - intp *dims, + npy_intp *dims, const int rank, const int intent, PyObject *obj); |