[swift-users] Any way to enhance C interop "out-of-band?"

Rick Mann rmann at latencyzero.com
Wed Apr 26 18:59:53 CDT 2017

I'm using a third-party C library whose header doesn't properly tag things like enums, and so they show up in Swift without their cases. Is there any way to write an auxiliary file to help the compiler do the conversion (e.g. something in the modulemap file), so that I don't have to modify the distributed header?

Rick Mann
rmann at latencyzero.com

More information about the swift-users mailing list