CoreServices Changes for Swift
CoreServices
Modified MDExporterInterfaceStruct [struct]
Declaration | |
---|---|
From | struct MDExporterInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterExportData: ((UnsafeMutableRawPointer?, CFDictionary?, CFString?, CFString?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterExportData ImporterExportData: (@escaping (UnsafeMutableRawPointer?, CFDictionary?, CFString?, CFString?) -> DarwinBoolean)!) } |
To | struct MDExporterInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterExportData: ((UnsafeMutableRawPointer?, CFDictionary?, CFString?, CFString?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterExportData ImporterExportData: ((UnsafeMutableRawPointer?, CFDictionary?, CFString?, CFString?) -> DarwinBoolean)!) } |
Declaration | |
---|---|
From | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterExportData ImporterExportData: (@escaping (UnsafeMutableRawPointer?, CFDictionary?, CFString?, CFString?) -> DarwinBoolean)!) |
To | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterExportData ImporterExportData: ((UnsafeMutableRawPointer?, CFDictionary?, CFString?, CFString?) -> DarwinBoolean)!) |
Declaration | |
---|---|
From | struct MDImporterBundleWrapperURLInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterImportBundleWrapperURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportBundleWrapperURLData ImporterImportBundleWrapperURLData: (@escaping (UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) } |
To | struct MDImporterBundleWrapperURLInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterImportBundleWrapperURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportBundleWrapperURLData ImporterImportBundleWrapperURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) } |
Declaration | |
---|---|
From | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportBundleWrapperURLData ImporterImportBundleWrapperURLData: (@escaping (UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) |
To | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportBundleWrapperURLData ImporterImportBundleWrapperURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) |
Modified MDImporterInterfaceStruct [struct]
Declaration | |
---|---|
From | struct MDImporterInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterImportData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFString?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportData ImporterImportData: (@escaping (UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFString?) -> DarwinBoolean)!) } |
To | struct MDImporterInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterImportData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFString?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportData ImporterImportData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFString?) -> DarwinBoolean)!) } |
Declaration | |
---|---|
From | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportData ImporterImportData: (@escaping (UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFString?) -> DarwinBoolean)!) |
To | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportData ImporterImportData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFString?) -> DarwinBoolean)!) |
Declaration | |
---|---|
From | struct MDImporterURLInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterImportURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportURLData ImporterImportURLData: (@escaping (UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) } |
To | struct MDImporterURLInterfaceStruct { var _reserved: UnsafeMutableRawPointer! var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)! var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)! var Release: ((UnsafeMutableRawPointer?) -> ULONG)! var ImporterImportURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)! init() init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportURLData ImporterImportURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) } |
Declaration | |
---|---|
From | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportURLData ImporterImportURLData: (@escaping (UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) |
To | init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, ImporterImportURLData ImporterImportURLData: ((UnsafeMutableRawPointer?, CFMutableDictionary?, CFString?, CFURL?) -> DarwinBoolean)!) |
Declaration | |
---|---|
From | func FSEventStreamCreate(_ allocator: CFAllocator?, _ callback: CoreServices.FSEventStreamCallback, _ context: UnsafeMutablePointer<FSEventStreamContext>?, _ pathsToWatch: CFArray, _ sinceWhen: FSEventStreamEventId, _ latency: CFTimeInterval, _ flags: FSEventStreamCreateFlags) -> FSEventStreamRef? |
To | func FSEventStreamCreate(_ allocator: CFAllocator?, _ callback: @escaping CoreServices.FSEventStreamCallback, _ context: UnsafeMutablePointer<FSEventStreamContext>?, _ pathsToWatch: CFArray, _ sinceWhen: FSEventStreamEventId, _ latency: CFTimeInterval, _ flags: FSEventStreamCreateFlags) -> FSEventStreamRef? |
Declaration | |
---|---|
From | func FSEventStreamCreateRelativeToDevice(_ allocator: CFAllocator?, _ callback: CoreServices.FSEventStreamCallback, _ context: UnsafeMutablePointer<FSEventStreamContext>?, _ deviceToWatch: dev_t, _ pathsToWatchRelativeToDevice: CFArray, _ sinceWhen: FSEventStreamEventId, _ latency: CFTimeInterval, _ flags: FSEventStreamCreateFlags) -> FSEventStreamRef? |
To | func FSEventStreamCreateRelativeToDevice(_ allocator: CFAllocator?, _ callback: @escaping CoreServices.FSEventStreamCallback, _ context: UnsafeMutablePointer<FSEventStreamContext>?, _ deviceToWatch: dev_t, _ pathsToWatchRelativeToDevice: CFArray, _ sinceWhen: FSEventStreamEventId, _ latency: CFTimeInterval, _ flags: FSEventStreamCreateFlags) -> FSEventStreamRef? |
Declaration | |
---|---|
From | func MDQuerySetSortComparatorBlock(_ query: MDQuery!, _ comparator: (@escaping (UnsafePointer<Unmanaged<CFTypeRef>?>?, UnsafePointer<Unmanaged<CFTypeRef>?>?) -> CFComparisonResult)!) |
To | func MDQuerySetSortComparatorBlock(_ query: MDQuery!, _ comparator: ((UnsafePointer<Unmanaged<CFTypeRef>?>?, UnsafePointer<Unmanaged<CFTypeRef>?>?) -> CFComparisonResult)!) |