Files
Doug Gregor f2340ec9af [C interop] Allow an Unmanaged<T> result in a @c @implementation function
A C function returning a foreign reference or CoreFoundation type
unretained cannot be safely implemented, because there is no way to
ensure that the result object lives past the return. However, such C
functions do exist, and we would like to be able to implement them via
`@c @implementation`. Extend the signature-matching logic for
`@implementation` to permit an `Unmanaged<T>` result even when the
signature comes in an `T` to allow the use of `@implementation` here.

Implements rdar://188429740
2026-09-29 07:49:36 -07:00
..