Skip to content
Snippets Groups Projects
Unverified Commit 804f2529 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub
Browse files

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")
parent 551d02b3
No related branches found
No related tags found
No related merge requests found
Showing
with 119 additions and 119 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment