mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
C code is highly likely to want to use pointers as references between dependent structs, and we would like to be able to readily map these to lifetime-dependent Swift values. Making C types addressable-for-dependencies ensures that any function producing a dependency on such a value receives a stable in-memory address for that value, allowing borrows and inout accesses to always be representable as pointers. rdar://153648393
6.1 KiB
6.1 KiB