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/rules.py | |
parent | a29b0e2bf884c5d43d07e5fe7c88344b6dd8bde8 (diff) | |
download | numpy-d1b492038476e0da520c97549e39c9284ae64e18.tar.gz |
Fix f2py to use new names
Diffstat (limited to 'numpy/f2py/rules.py')
-rw-r--r-- | numpy/f2py/rules.py | 4 |
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;', |