Skip to content

Commit b7e486f

Browse files
authored
Add missing static inline to PyObject_GenericHash() (#205)
Patch by Matti Picus.
1 parent 5039d99 commit b7e486f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pythoncapi_compat.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ static inline Py_hash_t Py_HashPointer(const void *ptr)
12361236

12371237

12381238
#if PY_VERSION_HEX < _Py_PACK_VERSION(3, 13) || defined(Py_LIMITED_API)
1239-
Py_hash_t
1239+
static inline Py_hash_t
12401240
PyObject_GenericHash(PyObject *obj)
12411241
{
12421242
return Py_HashPointer(obj);

0 commit comments

Comments
 (0)