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

Use __attribute__((cleanup))? #584

Open
ronaldoussoren opened this issue Dec 5, 2023 · 0 comments
Open

Use __attribute__((cleanup))? #584

ronaldoussoren opened this issue Dec 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ronaldoussoren
Copy link
Owner

Consider using __attribute__((cleanup)) to simplify cleanup in the C extensions (in particular pyobjc-core). With some luck this simplifies the code base, although care must be taken to ensure cleanup is done at the right time.

@ronaldoussoren ronaldoussoren added the enhancement New feature or request label Dec 5, 2023
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