File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1763,7 +1763,8 @@ swift_task_addCancellationHandlerImpl(
1763
1763
void *context) {
1764
1764
void *allocation =
1765
1765
swift_task_alloc (sizeof (CancellationNotificationStatusRecord));
1766
- auto unsigned_handler = swift_auth_code (handler, 3848 );
1766
+ auto unsigned_handler = swift_auth_code_function (handler,
1767
+ SpecialPointerAuthDiscriminators::CancellationNotificationFunction);
1767
1768
auto *record = ::new (allocation)
1768
1769
CancellationNotificationStatusRecord (unsigned_handler, context);
1769
1770
@@ -1816,7 +1817,8 @@ swift_task_addPriorityEscalationHandlerImpl(
1816
1817
void *context) {
1817
1818
void *allocation =
1818
1819
swift_task_alloc (sizeof (EscalationNotificationStatusRecord));
1819
- auto unsigned_handler = swift_auth_code (handler, 30817 );
1820
+ auto unsigned_handler = swift_auth_code_function (handler,
1821
+ SpecialPointerAuthDiscriminators::EscalationNotificationFunction);
1820
1822
auto *record = ::new (allocation)
1821
1823
EscalationNotificationStatusRecord (unsigned_handler, context);
1822
1824
You can’t perform that action at this time.
0 commit comments