File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -360,9 +360,9 @@ meth_hash(PythonQtSignalFunctionObject *a)
360360 }
361361#if PY_VERSION_HEX >= 0x30D0000 /* 0x30D0000 == 3.13.0a0 */
362362 y = Py_HashPointer ((void *)(a->m_ml )); /* public in 3.13+ */
363- #elif !defined(Py_LIMITED_API)
364- /* fallback: use CPython’s private helper (requires full API) */
365- y = _Py_HashPointer ((void *)(a->m_ml ));
363+ // #elif !defined(Py_LIMITED_API)
364+ // /* fallback: use CPython’s private helper (requires full API) */
365+ // y = _Py_HashPointer((void*)(a->m_ml));
366366#else
367367 /* portable fallback for the limited/stable ABI */
368368 uintptr_t v = (uintptr_t )(void *)(a->m_ml );
Original file line number Diff line number Diff line change @@ -764,12 +764,11 @@ meth_hash(PythonQtSlotFunctionObject *a)
764764 if (x == -1 )
765765 return -1 ;
766766 }
767- y = _Py_HashPointer ((void *)(a->m_ml ));
768767#if PY_VERSION_HEX >= 0x30D0000 /* 0x30D0000 == 3.13.0a0 */
769768 y = Py_HashPointer ((void *)(a->m_ml )); /* public in 3.13+ */
770- #elif !defined(Py_LIMITED_API)
771- /* fallback: use CPython’s private helper (requires full API) */
772- y = _Py_HashPointer ((void *)(a->m_ml ));
769+ // #elif !defined(Py_LIMITED_API)
770+ // /* fallback: use CPython’s private helper (requires full API) */
771+ // y = _Py_HashPointer((void*)(a->m_ml));
773772#else
774773 /* portable fallback for the limited/stable ABI */
775774 uintptr_t v = (uintptr_t )(void *)(a->m_ml );
You can’t perform that action at this time.
0 commit comments