DirectoryService Changes for Swift
DirectoryService
Removed tDirPatternMatch.value
Removed tDirStatus.value
Added tDirPatternMatch.init(rawValue: UInt32)
Added tDirPatternMatch.rawValue
Added tDirStatus.init(rawValue: Int32)
Added tDirStatus.rawValue
Modified tDirPatternMatch [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct tDirPatternMatch {
init(_ value: UInt32)
var value: UInt32
} | -- |
| To | struct tDirPatternMatch : RawRepresentable {
init(_ rawValue: UInt32)
init(rawValue rawValue: UInt32)
var rawValue: UInt32
} | RawRepresentable |
Modified tDirStatus [struct]
| Declaration | Protocols | |
|---|---|---|
| From | struct tDirStatus {
init(_ value: Int32)
var value: Int32
} | -- |
| To | struct tDirStatus : RawRepresentable {
init(_ rawValue: Int32)
init(rawValue rawValue: Int32)
var rawValue: Int32
} | RawRepresentable |
Modified fpCustomAllocate
| Declaration | |
|---|---|
| From | typealias fpCustomAllocate = CFunctionPointer<((tDirReference, tClientData, UInt32, UnsafeMutablePointer<tBuffer>) -> tDirStatus)> |
| To | typealias fpCustomAllocate = (tDirReference, tClientData, UInt32, UnsafeMutablePointer<tBuffer>) -> tDirStatus |
Modified fpCustomDeAllocate
| Declaration | |
|---|---|
| From | typealias fpCustomDeAllocate = CFunctionPointer<((tDirReference, tClientData, tBuffer) -> tDirStatus)> |
| To | typealias fpCustomDeAllocate = (tDirReference, tClientData, tBuffer) -> tDirStatus |
Modified fpCustomThreadBlock
| Declaration | |
|---|---|
| From | typealias fpCustomThreadBlock = CFunctionPointer<((tDirReference, tClientData) -> tDirStatus)> |
| To | typealias fpCustomThreadBlock = (tDirReference, tClientData) -> tDirStatus |
Modified fpCustomThreadUnBlock
| Declaration | |
|---|---|
| From | typealias fpCustomThreadUnBlock = CFunctionPointer<((tDirReference, tClientData) -> tDirStatus)> |
| To | typealias fpCustomThreadUnBlock = (tDirReference, tClientData) -> tDirStatus |
Modified fpCustomThreadYield
| Declaration | |
|---|---|
| From | typealias fpCustomThreadYield = CFunctionPointer<((tDirReference, tClientData) -> tDirStatus)> |
| To | typealias fpCustomThreadYield = (tDirReference, tClientData) -> tDirStatus |