Skip to content

Conversation

@nobu
Copy link
Contributor

@nobu nobu commented Dec 8, 2025

Untyped data APIs are deprecated.

@nobu nobu changed the title Typed data Use typed data APIs Dec 8, 2025
Copy link
Member

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I tried to migrate it earlier today but this is really old code and got lost in trying to modernize it and gave up.

@eregon eregon merged commit 978eed6 into ruby-concurrency:master Dec 8, 2025
15 of 16 checks passed
#include <atomic.h>
#endif

#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101200
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can change this to a check for C11 atomics since that's what this is using.
Not sure what's a good way to test that though.
Maybe have_header 'stdatomic.h'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably.

@nobu nobu deleted the typed-data branch December 9, 2025 14:58
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