diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-08-01 08:31:19 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-08-01 12:11:50 +0200 |
commit | b58a91cd410ed2ee7353fc9e887a2f073da1923f (patch) | |
tree | c1b40d72d5935351aaaed7ef4eff0685c313a677 | |
parent | 6c704712bb6b8fb800a9a2d39be0f7b4a259b186 (diff) | |
download | cython-b58a91cd410ed2ee7353fc9e887a2f073da1923f.tar.gz |
Add type "Py_hash_t" in pure Python mode.
-rw-r--r-- | Cython/Shadow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Shadow.py b/Cython/Shadow.py index 5c15f2287..1fdffe280 100644 --- a/Cython/Shadow.py +++ b/Cython/Shadow.py @@ -407,7 +407,7 @@ py_complex = typedef(complex, "double complex") # Predefined types -int_types = ['char', 'short', 'Py_UNICODE', 'int', 'Py_UCS4', 'long', 'longlong', 'Py_ssize_t', 'size_t'] +int_types = ['char', 'short', 'Py_UNICODE', 'int', 'Py_UCS4', 'long', 'longlong', 'Py_hash_t', 'Py_ssize_t', 'size_t'] float_types = ['longdouble', 'double', 'float'] complex_types = ['longdoublecomplex', 'doublecomplex', 'floatcomplex', 'complex'] other_types = ['bint', 'void', 'Py_tss_t'] |