[swift-evolution] Rewrite imported C function signatures
Carlos Rodríguez Domínguez
carlos at everywaretech.es
Fri Mar 25 08:50:33 CDT 2016
Well, it might be both an external annotation on C code and something specific within swift. The first is interesting when you have access to the C source code, but the later is good if you either don’t have access to the C source code, or the code (swift, objective-c, C, etc.) is autogenerated by an external tool (for instance, CoreData tools).
> El 25 mar 2016, a las 14:22, Andrey Tarantsov <andrey at tarantsov.com> escribió:
>
> Reposting my comment from that other thread:
>
> [...] it's more of an external annotation on C code, something that we don't currently support for user code. (My understanding is that they have it implemented for Apple frameworks.) Perhaps, with Swift 3 going Linux, with should expose the ability to annotate external code to the users? And enum importing could be a part of that.
>
> A.
>
More information about the swift-evolution
mailing list