@@ -166,7 +166,7 @@ static inline void _swift_dispatch_apply_current(
166
166
}
167
167
168
168
SWIFT_DISPATCH_RETURNS_RETAINED
169
- __swift_shims_dispatch_data_t
169
+ static inline __swift_shims_dispatch_data_t
170
170
_swift_dispatch_data_create (
171
171
const void *buffer,
172
172
size_t size,
@@ -177,7 +177,7 @@ _swift_dispatch_data_create(
177
177
178
178
typedef unsigned int (^__swift_shims_dispatch_data_applier)(__swift_shims_dispatch_data_t , size_t , const void *, size_t );
179
179
180
- unsigned int
180
+ static inline unsigned int
181
181
_swift_dispatch_data_apply (
182
182
__swift_shims_dispatch_data_t data,
183
183
__swift_shims_dispatch_data_applier SWIFT_DISPATCH_NOESCAPE applier) {
@@ -186,19 +186,19 @@ _swift_dispatch_data_apply(
186
186
});
187
187
}
188
188
189
- void _swift_dispatch_source_set_event_handler (
189
+ static inline void _swift_dispatch_source_set_event_handler (
190
190
dispatch_source_t source,
191
191
__swift_shims_dispatch_block_t _Nullable block) {
192
192
dispatch_source_set_event_handler (source, block);
193
193
}
194
194
195
- void _swift_dispatch_source_set_cancel_handler (
195
+ static inline void _swift_dispatch_source_set_cancel_handler (
196
196
dispatch_source_t source,
197
197
__swift_shims_dispatch_block_t _Nullable block) {
198
198
dispatch_source_set_cancel_handler (source, block);
199
199
}
200
200
201
- void _swift_dispatch_source_set_registration_handler (
201
+ static inline void _swift_dispatch_source_set_registration_handler (
202
202
dispatch_source_t source,
203
203
__swift_shims_dispatch_block_t _Nullable block) {
204
204
dispatch_source_set_registration_handler (source, block);
0 commit comments