Skip to content

Move includes so yams work with C++-interop#472

Open
lorrden wants to merge 1 commit intojpsim:mainfrom
lorrden:fix-issue-with-cpp-interop
Open

Move includes so yams work with C++-interop#472
lorrden wants to merge 1 commit intojpsim:mainfrom
lorrden:fix-issue-with-cpp-interop

Conversation

@lorrden
Copy link
Copy Markdown

@lorrden lorrden commented Feb 2, 2026

This moves the include directives of C-headers outside the extern "C"-block so the library works with C++ interop as discussed here:

https://forums.swift.org/t/import-of-c-module-appears-within-extern-c-language-linkage-specification/65606/5

This should address #471

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