mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
...but don't do anything with them yet. This does check that they're being correctly serialized, though. This introduces a new ADT, PointerIntUnion, which like PointerUnion is an efficient variant type using the lowest bit of data as a discriminator. By default, the union can store any pointer-bits-minus-one-sized integer, but both the integer type and the underlying storage type can be customized. Swift SVN r5321
4 lines
82 B
Swift
4 lines
82 B
Swift
import Builtin
|
|
typealias MyInt64 = Builtin.Int64
|
|
typealias AnotherInt64 = MyInt64
|