MachO Changes for Swift
MachO
Added dylib_reference.flags
Added dylib_reference.init(isym: UInt32, flags: UInt32)
Added dylib_reference.isym
Added lc_str.init(offset: UInt32)
Added lc_str.init(ptr: UnsafeMutablePointer<Int8>)
Added lc_str.offset
Added lc_str.ptr
Added relocation_info.init(r_address: Int32, r_symbolnum: UInt32, r_pcrel: UInt32, r_length: UInt32, r_extern: UInt32, r_type: UInt32)
Added relocation_info.r_extern
Added relocation_info.r_length
Added relocation_info.r_pcrel
Added relocation_info.r_symbolnum
Added relocation_info.r_type
Added scattered_relocation_info.init(r_address: UInt32, r_type: UInt32, r_length: UInt32, r_pcrel: UInt32, r_scattered: UInt32, r_value: Int32)
Added scattered_relocation_info.r_address
Added scattered_relocation_info.r_length
Added scattered_relocation_info.r_pcrel
Added scattered_relocation_info.r_scattered
Added scattered_relocation_info.r_type
Added twolevel_hint.init(isub_image: UInt32, itoc: UInt32)
Added twolevel_hint.isub_image
Added twolevel_hint.itoc
Added LC_VERSION_MIN_TVOS
Modified DYLD_BOOL [enum]
Protocols | |
---|---|
From | Equatable, Hashable, RawRepresentable |
To | -- |
Modified dyld_image_mode [struct]
Declaration | Protocols | |
---|---|---|
From | struct dyld_image_mode : RawRepresentable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | RawRepresentable |
To | struct dyld_image_mode : RawRepresentable, Equatable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | Equatable, RawRepresentable |
Modified dylib_reference [struct]
Declaration | |
---|---|
From | struct dylib_reference { init() } |
To | struct dylib_reference { var isym: UInt32 var flags: UInt32 init() init(isym isym: UInt32, flags flags: UInt32) } |
Modified lc_str [struct]
Declaration | |
---|---|
From | struct lc_str { init() } |
To | struct lc_str { var offset: UInt32 var ptr: UnsafeMutablePointer<Int8> init(offset offset: UInt32) init(ptr ptr: UnsafeMutablePointer<Int8>) init() } |
Modified NSLinkEditErrors [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSLinkEditErrors : RawRepresentable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | RawRepresentable |
To | struct NSLinkEditErrors : RawRepresentable, Equatable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | Equatable, RawRepresentable |
Modified NSObjectFileImageReturnCode [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSObjectFileImageReturnCode : RawRepresentable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | RawRepresentable |
To | struct NSObjectFileImageReturnCode : RawRepresentable, Equatable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | Equatable, RawRepresentable |
Modified NSOtherErrorNumbers [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSOtherErrorNumbers : RawRepresentable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | RawRepresentable |
To | struct NSOtherErrorNumbers : RawRepresentable, Equatable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | Equatable, RawRepresentable |
Modified reloc_type_generic [struct]
Declaration | Protocols | |
---|---|---|
From | struct reloc_type_generic : RawRepresentable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | RawRepresentable |
To | struct reloc_type_generic : RawRepresentable, Equatable { init(_ rawValue: UInt32) init(rawValue rawValue: UInt32) var rawValue: UInt32 } | Equatable, RawRepresentable |
Modified relocation_info [struct]
Declaration | |
---|---|
From | struct relocation_info { var r_address: Int32 init() } |
To | struct relocation_info { var r_address: Int32 var r_symbolnum: UInt32 var r_pcrel: UInt32 var r_length: UInt32 var r_extern: UInt32 var r_type: UInt32 init() init(r_address r_address: Int32, r_symbolnum r_symbolnum: UInt32, r_pcrel r_pcrel: UInt32, r_length r_length: UInt32, r_extern r_extern: UInt32, r_type r_type: UInt32) } |
Modified scattered_relocation_info [struct]
Declaration | |
---|---|
From | struct scattered_relocation_info { var r_value: Int32 init() } |
To | struct scattered_relocation_info { var r_address: UInt32 var r_type: UInt32 var r_length: UInt32 var r_pcrel: UInt32 var r_scattered: UInt32 var r_value: Int32 init() init(r_address r_address: UInt32, r_type r_type: UInt32, r_length r_length: UInt32, r_pcrel r_pcrel: UInt32, r_scattered r_scattered: UInt32, r_value r_value: Int32) } |
Modified twolevel_hint [struct]
Declaration | |
---|---|
From | struct twolevel_hint { init() } |
To | struct twolevel_hint { var isub_image: UInt32 var itoc: UInt32 init() init(isub_image isub_image: UInt32, itoc itoc: UInt32) } |