We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 462c5e8 commit 5415271Copy full SHA for 5415271
Include/cpython/pyhash.h
@@ -21,7 +21,9 @@
21
22
/* Helpers for hash functions */
23
PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
24
-PyAPI_FUNC(Py_hash_t) _Py_HashPointer(const void*);
+
25
+// Kept for backward compatibility
26
+#define _Py_HashPointer Py_HashPointer
27
28
29
/* hash function definition */
Include/internal/pycore_pyhash.h
@@ -20,10 +20,6 @@ _Py_HashPointerRaw(const void *ptr)
20
return (Py_hash_t)x;
}
-
-// Kept for backward compatibility
-#define _Py_HashPointer Py_HashPointer
// Export for '_datetime' shared extension
PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t);
0 commit comments