diff options
author | Victor Stinner <vstinner@python.org> | 2023-12-06 15:09:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 15:09:22 +0100 |
commit | 828451dfde324f9499ffebc023a22b84dc5a125b (patch) | |
tree | ceee17c26f9c9238b602ef9156e6eb8530d032f1 /Python/hashtable.c | |
parent | f8852634edf1232ac1aa4561e34796b52f9f7aa2 (diff) | |
download | cpython-828451dfde324f9499ffebc023a22b84dc5a125b.tar.gz cpython-828451dfde324f9499ffebc023a22b84dc5a125b.zip |
gh-111545: Add Py_HashPointer() function (#112096)
* Implement _Py_HashPointerRaw() as a static inline function.
* Add Py_HashPointer() tests to test_capi.test_hash.
* Keep _Py_HashPointer() function as an alias to Py_HashPointer().
Diffstat (limited to 'Python/hashtable.c')
-rw-r--r-- | Python/hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/hashtable.c b/Python/hashtable.c index 8f5e8168ba1..faf68fe4ff0 100644 --- a/Python/hashtable.c +++ b/Python/hashtable.c @@ -45,7 +45,7 @@ */ #include "Python.h" -#include "pycore_hashtable.h" +#include "pycore_hashtable.h" // export _Py_hashtable_new() #include "pycore_pyhash.h" // _Py_HashPointerRaw() #define HASHTABLE_MIN_SIZE 16 |