Skip to content

Add C++ Interoperability example #1280

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
Jun 26, 2024

Conversation

kersson
Copy link
Contributor

@kersson kersson commented Jun 26, 2024

Extends the simple "counter" example from c_from_swift to show how to use the -cxx-interoperability-mode build flag to invoke C++ directly from Swift.

https://www.swift.org/documentation/cxx-interop/

@brentleyjones brentleyjones merged commit 321d2c3 into bazelbuild:master Jun 26, 2024
14 checks passed
@brentleyjones brentleyjones linked an issue Jun 26, 2024 that may be closed by this pull request
@kersson kersson deleted the cxx-interop-example branch June 26, 2024 18:13
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.

Add example of Swift <--> C++ interop
2 participants