Hi @jrose ,
From [SR-655] Private C modules · Issue #43272 · apple/swift · GitHub, my understanding is that it is not possible to make a swift module that wraps some c-headers and then hides them as an implementation detail.
Just for clarity sake, I'm experimenting with exporting just the .swiftmodule and .so files, and I'd like to have something like the following (but where I do not need to export the modulemap):
MyModule.swift:
// ... some sort of wrapper...
module.modulemap:
module PrivateDetail {
export *
header "private-detail.h"
}
Is this possible? If so, how?
If not, what would be necessary to make this possible? I'm interested in making the needed changes.