Skip to content

Commit 09d2113

Browse files
committed
private: use dispatch_qos_class_t rather than qos_class_t
The `qos_class_t` is typealiased as `disaptch_qos_class_t` in `dispatch/object.h` to allow portability for platforms which do not vend the type. Use this to allow building the new interfaces on Windows.
1 parent fab98ff commit 09d2113

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

private/channel_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ dispatch_channel_create(const char *_Nullable label,
259259
API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0), bridgeos(4.0))
260260
DISPATCH_EXPORT DISPATCH_NOTHROW DISPATCH_NONNULL_ALL
261261
void
262-
dispatch_channel_wakeup(dispatch_channel_t channel, qos_class_t qos_class);
262+
dispatch_channel_wakeup(dispatch_channel_t channel, dispatch_qos_class_t qos_class);
263263

264264
/*! @typedef dispatch_channel_enumerator_handler_t
265265
*

private/queue_private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ SPI_AVAILABLE(macos(12.0), ios(15.0))
537537
DISPATCH_EXPORT DISPATCH_NONNULL1 DISPATCH_NONNULL2
538538
void
539539
dispatch_async_swift_job(dispatch_queue_t queue, void *swift_job,
540-
qos_class_t qos);
540+
dispatch_qos_class_t qos);
541541

542542
__END_DECLS
543543

0 commit comments

Comments
 (0)