Skip to content

[interop][SwiftToCxx] add @_expose(Cxx) attribute suppport #60715

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
Aug 24, 2022

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Aug 22, 2022

This attribute instructs the compiler that this declaration should be included in the generated C++ bindings

@hyp hyp added the c++ interop Feature: Interoperability with C++ label Aug 22, 2022
@hyp
Copy link
Contributor Author

hyp commented Aug 22, 2022

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Aug 22, 2022

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Aug 23, 2022

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Aug 23, 2022

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Aug 23, 2022

@swift-ci please test windows platform

@hyp
Copy link
Contributor Author

hyp commented Aug 23, 2022

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Aug 24, 2022

@swift-ci please test windows platform

Copy link
Contributor

@zoecarver zoecarver left a comment

Choose a reason for hiding this comment

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

Very excited to see this!

This attribute instructs the compiler that this declaration should be included in the generated C++ bindings
@hyp
Copy link
Contributor Author

hyp commented Aug 24, 2022

@swift-ci please test source compatibility

@hyp
Copy link
Contributor Author

hyp commented Aug 24, 2022

@swift-ci please test

@hyp hyp merged commit 30d09de into swiftlang:main Aug 24, 2022
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