@@ -25,43 +25,43 @@ public func dispatch_queue_create_with_target(_ label: UnsafePointer<Int8>?, _ a
25
25
}
26
26
27
27
@available ( * , unavailable, renamed: " DispatchIO.init(type:fileDescriptor:queue:cleanupHandler:) " )
28
- public func dispatch_io_create( _ type: UInt , _ fd: Int32 , _ queue: DispatchQueue , _ cleanup_handler: ( Int32 ) -> Void ) -> DispatchIO
28
+ public func dispatch_io_create( _ type: UInt , _ fd: Int32 , _ queue: DispatchQueue , _ cleanup_handler: @escaping ( Int32 ) -> Void ) -> DispatchIO
29
29
{
30
30
fatalError ( )
31
31
}
32
32
33
33
@available ( * , unavailable, renamed: " DispatchIO.init(type:path:oflag:mode:queue:cleanupHandler:) " )
34
- public func dispatch_io_create_with_path( _ type: UInt , _ path: UnsafePointer < Int8 > , _ oflag: Int32 , _ mode: mode_t , _ queue: DispatchQueue , _ cleanup_handler: ( Int32 ) -> Void ) -> DispatchIO
34
+ public func dispatch_io_create_with_path( _ type: UInt , _ path: UnsafePointer < Int8 > , _ oflag: Int32 , _ mode: mode_t , _ queue: DispatchQueue , _ cleanup_handler: @escaping ( Int32 ) -> Void ) -> DispatchIO
35
35
{
36
36
fatalError ( )
37
37
}
38
38
39
39
@available ( * , unavailable, renamed: " DispatchIO.init(type:io:queue:cleanupHandler:) " )
40
- public func dispatch_io_create_with_io( _ type: UInt , _ io: DispatchIO , _ queue: DispatchQueue , _ cleanup_handler: ( Int32 ) -> Void ) -> DispatchIO
40
+ public func dispatch_io_create_with_io( _ type: UInt , _ io: DispatchIO , _ queue: DispatchQueue , _ cleanup_handler: @escaping ( Int32 ) -> Void ) -> DispatchIO
41
41
{
42
42
fatalError ( )
43
43
}
44
44
45
45
@available ( * , unavailable, renamed: " DispatchIO.read(fileDescriptor:length:queue:handler:) " )
46
- public func dispatch_read( _ fd: Int32 , _ length: Int , _ queue: DispatchQueue , _ handler: ( __DispatchData , Int32 ) -> Void )
46
+ public func dispatch_read( _ fd: Int32 , _ length: Int , _ queue: DispatchQueue , _ handler: @escaping ( __DispatchData , Int32 ) -> Void )
47
47
{
48
48
fatalError ( )
49
49
}
50
50
51
51
@available ( * , unavailable, renamed: " DispatchIO.read(self:offset:length:queue:ioHandler:) " )
52
- func dispatch_io_read( _ channel: DispatchIO , _ offset: off_t , _ length: Int , _ queue: DispatchQueue , _ io_handler: ( Bool , __DispatchData ? , Int32 ) -> Void )
52
+ func dispatch_io_read( _ channel: DispatchIO , _ offset: off_t , _ length: Int , _ queue: DispatchQueue , _ io_handler: @escaping ( Bool , __DispatchData ? , Int32 ) -> Void )
53
53
{
54
54
fatalError ( )
55
55
}
56
56
57
57
@available ( * , unavailable, renamed: " DispatchIO.write(self:offset:data:queue:ioHandler:) " )
58
- func dispatch_io_write( _ channel: DispatchIO , _ offset: off_t , _ data: __DispatchData , _ queue: DispatchQueue , _ io_handler: ( Bool , __DispatchData ? , Int32 ) -> Void )
58
+ func dispatch_io_write( _ channel: DispatchIO , _ offset: off_t , _ data: __DispatchData , _ queue: DispatchQueue , _ io_handler: @escaping ( Bool , __DispatchData ? , Int32 ) -> Void )
59
59
{
60
60
fatalError ( )
61
61
}
62
62
63
63
@available ( * , unavailable, renamed: " DispatchIO.write(fileDescriptor:data:queue:handler:) " )
64
- func dispatch_write( _ fd: Int32 , _ data: __DispatchData , _ queue: DispatchQueue , _ handler: ( __DispatchData ? , Int32 ) -> Void )
64
+ func dispatch_write( _ fd: Int32 , _ data: __DispatchData , _ queue: DispatchQueue , _ handler: @escaping ( __DispatchData ? , Int32 ) -> Void )
65
65
{
66
66
fatalError ( )
67
67
}
@@ -97,7 +97,7 @@ public func dispatch_data_create_subrange(_ data: __DispatchData, _ offset: Int,
97
97
}
98
98
99
99
@available ( * , unavailable, renamed: " DispatchData.enumerateBytes(self:block:) " )
100
- public func dispatch_data_apply( _ data: __DispatchData , _ applier: ( __DispatchData , Int , UnsafePointer < Void > , Int ) -> Bool ) -> Bool
100
+ public func dispatch_data_apply( _ data: __DispatchData , _ applier: @escaping ( __DispatchData , Int , UnsafePointer < Void > , Int ) -> Bool ) -> Bool
101
101
{
102
102
fatalError ( )
103
103
}
@@ -109,13 +109,13 @@ public func dispatch_data_copy_region(_ data: __DispatchData, _ location: Int, _
109
109
}
110
110
111
111
@available ( * , unavailable, renamed: " DispatchQueue.asynchronously(self:group:qos:flags:execute:) " )
112
- public func dispatch_group_async( _ group: DispatchGroup , _ queue: DispatchQueue , _ block: ( ) -> Void )
112
+ public func dispatch_group_async( _ group: DispatchGroup , _ queue: DispatchQueue , _ block: @escaping ( ) -> Void )
113
113
{
114
114
fatalError ( )
115
115
}
116
116
117
117
@available ( * , unavailable, renamed: " DispatchGroup.notify(self:qos:flags:queue:execute:) " )
118
- public func dispatch_group_notify( _ group: DispatchGroup , _ queue: DispatchQueue , _ block: ( ) -> Void )
118
+ public func dispatch_group_notify( _ group: DispatchGroup , _ queue: DispatchQueue , _ block: @escaping ( ) -> Void )
119
119
{
120
120
fatalError ( )
121
121
}
@@ -139,13 +139,13 @@ public func dispatch_io_set_interval(_ channel: DispatchIO, _ interval: UInt64,
139
139
}
140
140
141
141
@available ( * , unavailable, renamed: " DispatchQueue.apply(attributes:iterations:execute:) " )
142
- public func dispatch_apply( _ iterations: Int , _ queue: DispatchQueue , _ block: @noescape ( Int ) -> Void )
142
+ public func dispatch_apply( _ iterations: Int , _ queue: DispatchQueue , _ block: @escaping ( Int ) -> Void )
143
143
{
144
144
fatalError ( )
145
145
}
146
146
147
147
@available ( * , unavailable, renamed: " DispatchQueue.asynchronously(self:execute:) " )
148
- public func dispatch_async( _ queue: DispatchQueue , _ block: ( ) -> Void )
148
+ public func dispatch_async( _ queue: DispatchQueue , _ block: @escaping ( ) -> Void )
149
149
{
150
150
fatalError ( )
151
151
}
@@ -193,19 +193,19 @@ public func dispatch_queue_get_qos_class(_ queue: DispatchQueue, _ relative_prio
193
193
}
194
194
195
195
@available ( * , unavailable, renamed: " DispatchQueue.after(self:when:execute:) " )
196
- public func dispatch_after( _ when: dispatch_time_t , _ queue: DispatchQueue , _ block: ( ) -> Void )
196
+ public func dispatch_after( _ when: dispatch_time_t , _ queue: DispatchQueue , _ block: @escaping ( ) -> Void )
197
197
{
198
198
fatalError ( )
199
199
}
200
200
201
201
@available ( * , unavailable, renamed: " DispatchQueue.asynchronously(self:group:qos:flags:execute:) " )
202
- public func dispatch_barrier_async( _ queue: DispatchQueue , _ block: ( ) -> Void )
202
+ public func dispatch_barrier_async( _ queue: DispatchQueue , _ block: @escaping ( ) -> Void )
203
203
{
204
204
fatalError ( )
205
205
}
206
206
207
207
@available ( * , unavailable, renamed: " DispatchQueue.synchronously(self:flags:execute:) " )
208
- public func dispatch_barrier_sync( _ queue: DispatchQueue , _ block: @ noescape ( ) -> Void )
208
+ public func dispatch_barrier_sync( _ queue: DispatchQueue , _ block: ( ) -> Void )
209
209
{
210
210
fatalError ( )
211
211
}
0 commit comments