summaryrefslogtreecommitdiff
path: root/numpy/f2py/cb_rules.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2021-02-07 00:13:39 +0200
committerPearu Peterson <pearu.peterson@gmail.com>2021-02-07 00:13:39 +0200
commit29f0e8fa1ff5ccda3d92c949eb9d09c5d8327aa3 (patch)
tree7155108e75872b3bf52c7f3eba6295449e3ce0c4 /numpy/f2py/cb_rules.py
parent2f466b31820b6af40c3bc1ca3957682b6f20365a (diff)
downloadnumpy-29f0e8fa1ff5ccda3d92c949eb9d09c5d8327aa3.tar.gz
BUG: Fix missing signed_char dependency. Closes #18335.
Diffstat (limited to 'numpy/f2py/cb_rules.py')
-rw-r--r--numpy/f2py/cb_rules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/f2py/cb_rules.py b/numpy/f2py/cb_rules.py
index 3068dc897..60bc1ad11 100644
--- a/numpy/f2py/cb_rules.py
+++ b/numpy/f2py/cb_rules.py
@@ -342,6 +342,7 @@ cb_arg_rules = [
isarray: '#ctype# *',
isstring: '#ctype#'
},
+ 'need': {l_or(isscalar, isarray, isstring): '#ctype#'},
# untested with multiple args
'strarglens': {isstring: ',int #varname_i#_cb_len'},
'strarglens_td': {isstring: ',int'}, # untested with multiple args