summaryrefslogtreecommitdiff
path: root/numpy/f2py/rules.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-07-08 00:49:35 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-07-08 00:49:35 +0000
commitd1b492038476e0da520c97549e39c9284ae64e18 (patch)
treec2c94e9d551179c8552d5a4d7844db7a15f5993f /numpy/f2py/rules.py
parenta29b0e2bf884c5d43d07e5fe7c88344b6dd8bde8 (diff)
downloadnumpy-d1b492038476e0da520c97549e39c9284ae64e18.tar.gz
Fix f2py to use new names
Diffstat (limited to 'numpy/f2py/rules.py')
-rw-r--r--numpy/f2py/rules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
index 9d828aea2..5a2d224f8 100644
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -562,7 +562,7 @@ aux_rules=[
# Array
{ # Common
'decl':['\t#ctype# *#varname# = NULL;',
- '\tintp #varname#_Dims[#rank#] = {#rank*[-1]#};',
+ '\tnpy_intp #varname#_Dims[#rank#] = {#rank*[-1]#};',
'\tconst int #varname#_Rank = #rank#;',
],
'need':['len..',{hasinitvalue:'forcomb'},{hasinitvalue:'CFUNCSMESS'}],
@@ -896,7 +896,7 @@ if (#varname#_capi==Py_None) {
# Array
{ # Common
'decl':['\t#ctype# *#varname# = NULL;',
- '\tintp #varname#_Dims[#rank#] = {#rank*[-1]#};',
+ '\tnpy_intp #varname#_Dims[#rank#] = {#rank*[-1]#};',
'\tconst int #varname#_Rank = #rank#;',
'\tPyArrayObject *capi_#varname#_tmp = NULL;',
'\tint capi_#varname#_intent = 0;',