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

Swift: Model Manual Memory Management closure functions and withMemoryRebound variants #15038

Merged
merged 6 commits into from
Dec 8, 2023

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Dec 7, 2023

Model "Manual Memory Management" closure functions such as (classless) withUnsafePointer. Model withMemoryRebound and similar methods on the various pointer classes.

Note that results aren't great on the tests involve .pointee. Some non-trivial work is needed to fix them and I've created an issue to track that.

@geoffw0 geoffw0 added the Swift label Dec 7, 2023
@geoffw0 geoffw0 requested a review from a team as a code owner December 7, 2023 16:42
Copy link
Contributor

@MathiasVP MathiasVP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@geoffw0
Copy link
Contributor Author

geoffw0 commented Dec 8, 2023

Thanks for the speedy review!

@geoffw0 geoffw0 merged commit 6a48e6e into github:main Dec 8, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants