Skip to content

[Threading] Use tss_dtor_t and not just void(*)(void *). #79152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

al45tair
Copy link
Contributor

@al45tair al45tair commented Feb 5, 2025

Although the C11 spec says tss_dtor_t is void(*)(void *), there may be modifiers on the former typedef, so we should use it instead of directly writing the type.

rdar://144220714

Although the C11 spec says `tss_dtor_t` is `void(*)(void *)`, there
may be modifiers on the former typedef, so we should use it instead
of directly writing the type.

rdar://144220714
@al45tair al45tair requested a review from mikeash February 5, 2025 10:18
@al45tair
Copy link
Contributor Author

al45tair commented Feb 5, 2025

@swift-ci Please smoke test

@al45tair al45tair merged commit 99b3e9f into swiftlang:main Feb 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants