We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 307e534 commit 65bf634Copy full SHA for 65bf634
src/swift/Wrapper.swift
@@ -102,7 +102,9 @@ public class DispatchIO : DispatchObject {
102
dispatch_io_barrier(self.__wrapped, execute)
103
}
104
105
- // FIXME: getter:DispatchIO.fileDescriptor(self:) ==> dispatch_io_get_descriptor
+ public var fileDescriptor: Int32 {
106
+ return dispatch_io_get_descriptor(__wrapped)
107
+ }
108
109
public func setLimit(highWater: Int) {
110
dispatch_io_set_high_water(__wrapped, highWater)
0 commit comments