Swift 6.3 (opens in new tab)
Holly Borla and Joe Heck (Hacker News): Swift 6.3 introduces the @c attribute, which lets you expose Swift functions and enums to C code in your project. […] @c also works together with @implementation. This lets you provide a Swift implementation for a function declared in a C header[…] […] Swift 6.3 introduces module selectors […]
Read the original article