mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-06 12:32:12 -05:00
In Python 3.9+, `PyCFunction_New` and `PyCFunction_NewEx` are themselves macros around `PyMethod_New`. To fix the warning, both macros need to be untouched for those Python versions, instead the actual function `PyMethod_New` needs to be imported and aliased. This commit: - Adds the import of the `PyCMethod_New` symbol - Adds the function definition for `Import_PyCMethod_New` - Adds the `PyCMethod_New` function alias
11 KiB
11 KiB