MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / Py_HashPointer

Function Py_HashPointer

asyncpg/protocol/record/pythoncapi_compat.h:1114–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112// gh-111545 added Py_HashPointer() to Python 3.13.0a3
1113#if PY_VERSION_HEX < 0x030D00A3
1114static inline Py_hash_t Py_HashPointer(const void *ptr)
1115{
1116#if PY_VERSION_HEX >= 0x030900A4 && !defined(PYPY_VERSION)
1117 return _Py_HashPointer(ptr);
1118#else
1119 return _Py_HashPointer(_Py_CAST(void*, ptr));
1120#endif
1121}
1122#endif
1123
1124

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected