Skip to content
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

Drop _t suffix from struct names. #7886

Merged
merged 2 commits into from
Jun 1, 2023
Merged

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Jun 1, 2023

I've confirmed using gem codesearch that this will have minimal compatibility impact. It's recommended by POSIX standard to avoid _t suffix.

The first step is to change struct names which are not commonly used.

Later, we can deprecate the typedefs, and either introduce new typedefs or expect code to use the fully qualified type name (e.g. struct rb_io_encoding vs rb_io_encoding_t).

@ioquatix ioquatix merged commit 47a8de6 into ruby:master Jun 1, 2023
@ioquatix ioquatix deleted the io-drop-_t-suffix branch June 1, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant