summaryrefslogtreecommitdiff
path: root/numpy/f2py/src/fortranobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-19 01:10:26 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-19 01:10:26 +0000
commit044fa497f3c89b48134e00455dd3035a49aa7fdf (patch)
tree0843bb5fee4ac5f92fd8dc627aed772b67707878 /numpy/f2py/src/fortranobject.c
parentac121be4bfd3775c568bfc59463dc43ceb99e2f6 (diff)
downloadnumpy-044fa497f3c89b48134e00455dd3035a49aa7fdf.tar.gz
Fixed up PyArray_FromAny and friends for API --- recompile extensions...
Diffstat (limited to 'numpy/f2py/src/fortranobject.c')
-rw-r--r--numpy/f2py/src/fortranobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/src/fortranobject.c b/numpy/f2py/src/fortranobject.c
index d5da43a88..139fe40e8 100644
--- a/numpy/f2py/src/fortranobject.c
+++ b/numpy/f2py/src/fortranobject.c
@@ -628,7 +628,7 @@ PyArrayObject* array_from_pyobj(const int type_num,
arr = (PyArrayObject *) \
PyArray_FromAny(obj,PyArray_DescrFromType(type_num), 0,0,
((intent & F2PY_INTENT_C)?CARRAY_FLAGS:FARRAY_FLAGS) \
- | FORCECAST );
+ | FORCECAST, NULL);
if (arr==NULL)
return NULL;
if (check_and_fix_dimensions(arr,rank,dims))