Skip to content

[SE-0127] changes to withUnsafe[Mutable]Pointer #3788

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

Merged
merged 2 commits into from
Jul 27, 2016

Conversation

bob-wilson
Copy link
Contributor

What's in this pull request?

This PR implements the portion of SE-0127 related to the withUnsafe[Mutable]Pointer APIs. It adds a "to:" argument label and removes the 2- and 3-argument versions.

Resolved bug number: (SR-1937)

These provide the same functionality as the one-argument versions for both
2 and 3 argument closures. Since these are less common, the same thing can be
achieved by composing the one-argument version. rdar://problem/26529498
@bob-wilson
Copy link
Contributor Author

@swift-ci please smoke test and merge

@bob-wilson
Copy link
Contributor Author

The Linux tests failed. I have a fix for that ready to go here: swiftlang/swift-corelibs-foundation#481

@bob-wilson bob-wilson merged commit 1d4a970 into swiftlang:master Jul 27, 2016
@bob-wilson bob-wilson deleted the withUnsafePointer branch July 27, 2016 02:45
kateinoigakukun pushed a commit that referenced this pull request Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant