Skip to content

Add extern "C" to shim header file #307

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
May 28, 2025
Merged

Conversation

j-hui
Copy link
Contributor

@j-hui j-hui commented May 23, 2025

Adding this allows this package to be used with C++ interop enabled.

Otherwise, building a package that depends on this leads to linker
errors.

rdar://113756245

Adding this allows this package to be used with C++ interop enabled.
Otherwise, building a package that depends on this leads to linker
errors

rdar://113756245
@stephentyrone
Copy link
Member

@swift-ci test

@stephentyrone stephentyrone merged commit 6356eb3 into apple:main May 28, 2025
23 checks passed
stephentyrone added a commit to stephentyrone/swift-numerics that referenced this pull request May 28, 2025
@stephentyrone stephentyrone mentioned this pull request May 28, 2025
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.

2 participants