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)
360
360
}
361
361
#if PY_VERSION_HEX >= 0x30D0000 /* 0x30D0000 == 3.13.0a0 */
362
362
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));
366
366
#else
367
367
/* portable fallback for the limited/stable ABI */
368
368
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)
764
764
if (x == -1 )
765
765
return -1 ;
766
766
}
767
- y = _Py_HashPointer ((void *)(a->m_ml ));
768
767
#if PY_VERSION_HEX >= 0x30D0000 /* 0x30D0000 == 3.13.0a0 */
769
768
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));
773
772
#else
774
773
/* portable fallback for the limited/stable ABI */
775
774
uintptr_t v = (uintptr_t )(void *)(a->m_ml );
You can’t perform that action at this time.
0 commit comments