Skip to content

[cxx-interop] Support borrowing from self in SwiftifyImport #78947

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 1 commit into from
Jan 29, 2025

Conversation

Xazax-hun
Copy link
Contributor

Support adding safe wrappers for APIs returning std::span depending on the this object. This also fixes an issue for APIs with 0 parameters.

rdar://139074571

@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Jan 27, 2025
@Xazax-hun Xazax-hun requested a review from hnrklssn January 27, 2025 16:04
@Xazax-hun Xazax-hun force-pushed the gaborh/lifetimebound-this branch from ed51281 to 2678ff5 Compare January 28, 2025 10:14
Support adding safe wrappers for APIs returning std::span depending on
the this object. This also fixes an issue for APIs with 0 parameters.

rdar://139074571
@Xazax-hun Xazax-hun force-pushed the gaborh/lifetimebound-this branch from 2678ff5 to 06e5ead Compare January 28, 2025 13:54
@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test

@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test macOS

@Xazax-hun Xazax-hun merged commit 8462105 into main Jan 29, 2025
3 checks passed
@Xazax-hun Xazax-hun deleted the gaborh/lifetimebound-this branch January 29, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants