ronaldoussoren / pyobjc

The Python <-> Objective-C Bridge with bindings for macOS frameworks
https://pyobjc.readthedocs.io
573 stars 47 forks source link

Remove usage of PyObjCUnsupportedMethod_IMP from framework bindings #498

Open ronaldoussoren opened 2 years ago

ronaldoussoren commented 2 years ago

The new method for creating method IMPs should make it easier to provide IMPs for every method with a custom caller.

Files using PyObjCUnsupportedMethod_IMP:

ronaldoussoren commented 1 year ago

pyobjc-framework-SecurityInterface/Modules/_SecurityInterface.m: This contains an API returning AuthorizationRights* and which requires dynamic memory allocation to enable implementations in Python. As users are unlikely to ever need to do this I'm skipping this file.