diff options
author | Andy Lester <andy@petdance.com> | 2020-02-05 21:09:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 21:09:57 (GMT) |
commit | 3d06953c34fd6421dd1dfdb615578cde676ee0eb (patch) | |
tree | dd441ddfefafc96405ed26b8979f130bb11559b5 /Include/pyhash.h | |
parent | 8b6f6526f857bb7523b0fcff09b45bc6471289e9 (diff) | |
download | cpython-3d06953c34fd6421dd1dfdb615578cde676ee0eb.zip cpython-3d06953c34fd6421dd1dfdb615578cde676ee0eb.tar.gz cpython-3d06953c34fd6421dd1dfdb615578cde676ee0eb.tar.bz2 |
bpo-39127: Make _Py_HashPointer's argument be const (GH-17690)
Diffstat (limited to 'Include/pyhash.h')
-rw-r--r-- | Include/pyhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyhash.h b/Include/pyhash.h index dbcc974..2f39858 100644 --- a/Include/pyhash.h +++ b/Include/pyhash.h @@ -8,7 +8,7 @@ extern "C" { /* Helpers for hash functions */ #ifndef Py_LIMITED_API PyAPI_FUNC(Py_hash_t) _Py_HashDouble(double); -PyAPI_FUNC(Py_hash_t) _Py_HashPointer(void*); +PyAPI_FUNC(Py_hash_t) _Py_HashPointer(const void*); PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t); #endif |