gh-91320: Use _PyCFunction_CAST() (#92251)
Replace "(PyCFunction)(void(*)(void))func" cast with _PyCFunction_CAST(func). Change generated by the command: sed -i -e \ 's!(PyCFunction)(void(\*)(void)) *\([A-Za-z0-9_]\+\)!_PyCFunction_CAST(\1)!g' \ $(find -name "*.c")
V
Victor Stinner committed
804f2529d8e545a8d59eaf260ee032d014e681ba
Parent: 551d02b
Committed by GitHub <noreply@github.com>
on 5/3/2022, 7:42:14 PM