Guides and Sample Code Developer
Search

MachO Changes for Swift

MachO

Modified NSLinkEditErrorHandlers [struct]
Declaration
From
struct NSLinkEditErrorHandlers {
    var undefined: ((UnsafePointer<Int8>?) -> Swift.Void)!
    var multiple: ((NSSymbol?, NSModule?, NSModule?) -> NSModule?)!
    var linkEdit: ((NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!
    init()
    init(undefined undefined: (@escaping (UnsafePointer<Int8>?) -> Swift.Void)!, multiple multiple: (@escaping (NSSymbol?, NSModule?, NSModule?) -> NSModule?)!, linkEdit linkEdit: (@escaping (NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!)
}
To
struct NSLinkEditErrorHandlers {
    var undefined: ((UnsafePointer<Int8>?) -> Swift.Void)!
    var multiple: ((NSSymbol?, NSModule?, NSModule?) -> NSModule?)!
    var linkEdit: ((NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!
    init()
    init(undefined undefined: ((UnsafePointer<Int8>?) -> Swift.Void)!, multiple multiple: ((NSSymbol?, NSModule?, NSModule?) -> NSModule?)!, linkEdit linkEdit: ((NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!)
}

Modified NSLinkEditErrorHandlers.init(undefined: ((UnsafePointer<Int8>?) -> Swift.Void)!, multiple: ((NSSymbol?, NSModule?, NSModule?) -> NSModule?)!, linkEdit: ((NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!)
Declaration
From
init(undefined undefined: (@escaping (UnsafePointer<Int8>?) -> Swift.Void)!, multiple multiple: (@escaping (NSSymbol?, NSModule?, NSModule?) -> NSModule?)!, linkEdit linkEdit: (@escaping (NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!)
To
init(undefined undefined: ((UnsafePointer<Int8>?) -> Swift.Void)!, multiple multiple: ((NSSymbol?, NSModule?, NSModule?) -> NSModule?)!, linkEdit linkEdit: ((NSLinkEditErrors, Int32, UnsafePointer<Int8>?, UnsafePointer<Int8>?) -> Swift.Void)!)

Modified tlv_descriptor [struct]
Declaration
From
struct tlv_descriptor {
    var thunk: ((UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!
    var key: UInt
    var offset: UInt
    init()
    init(thunk thunk: (@escaping (UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!, key key: UInt, offset offset: UInt)
}
To
struct tlv_descriptor {
    var thunk: ((UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!
    var key: UInt
    var offset: UInt
    init()
    init(thunk thunk: ((UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!, key key: UInt, offset offset: UInt)
}

Modified tlv_descriptor.init(thunk: ((UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!, key: UInt, offset: UInt)
Declaration
From
init(thunk thunk: (@escaping (UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!, key key: UInt, offset offset: UInt)
To
init(thunk thunk: ((UnsafeMutablePointer<tlv_descriptor>?) -> UnsafeMutableRawPointer?)!, key key: UInt, offset offset: UInt)

Feedback