diff options
author | Rohit Goswami <rog32@hi.is> | 2021-09-29 06:26:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 01:26:13 -0500 |
commit | 26ce52951bf176ffb30c1044414036b728e0849d (patch) | |
tree | 0c0688f31ba8fd684dc6e5fea30f93d2bf417f05 /numpy/f2py/rules.py | |
parent | b0e1a445d3134e4744369ee1a34f7a44fd867578 (diff) | |
download | numpy-26ce52951bf176ffb30c1044414036b728e0849d.tar.gz |
MAINT: Reduce DepreciationWarnings, use more data API types for f2py (#19978)
* MAINT: More data type API for f2py
* MAINT: Less DeprecationWarnings for f2py
* MAINT: Fix casts for complex arrays in f2py
Diffstat (limited to 'numpy/f2py/rules.py')
-rwxr-xr-x | numpy/f2py/rules.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py index 587ae2e5f..66f11f6b5 100755 --- a/numpy/f2py/rules.py +++ b/numpy/f2py/rules.py @@ -120,6 +120,10 @@ module_rules = { extern \"C\" { #endif +#ifndef PY_SSIZE_T_CLEAN +#define PY_SSIZE_T_CLEAN +#endif /* PY_SSIZE_T_CLEAN */ + """ + gentitle("See f2py2e/cfuncs.py: includes") + """ #includes# #includes0# |