Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of PyObjCUnsupportedMethod_IMP from framework bindings #498

Open
1 of 9 tasks
ronaldoussoren opened this issue Oct 4, 2022 · 1 comment
Open
1 of 9 tasks
Labels
enhancement New feature or request

Comments

@ronaldoussoren
Copy link
Owner

ronaldoussoren commented Oct 4, 2022

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:

  • pyobjc-framework-AVFoundation/Modules/_AVFoundation_AVAudioBuffer.m
  • pyobjc-framework-Cocoa/Modules/_AppKit_nsbezierpath.m
  • pyobjc-framework-Cocoa/Modules/_AppKit_nsbitmap.m
  • pyobjc-framework-Cocoa/Modules/_AppKit_nsview.m
  • pyobjc-framework-Cocoa/Modules/_Foundation_NSInvocation.m
  • pyobjc-framework-Cocoa/Modules/_Foundation_netservice.m
  • pyobjc-framework-Cocoa/Modules/_Foundation_string.m
  • pyobjc-framework-SecurityInterface/Modules/_SecurityInterface.m
  • pyobjc-framework-SpriteKit/Modules/_SpriteKit.m
@ronaldoussoren ronaldoussoren added the enhancement New feature or request label Oct 4, 2022
@ronaldoussoren ronaldoussoren added this to the Internals Cleanup milestone Oct 4, 2022
@ronaldoussoren
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant