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