-
Notifications
You must be signed in to change notification settings - Fork 30
Support for rb_io_mode_t
.
#129
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
ext/stringio/stringio.c:39
- Verify that the fallback definition of rb_io_mode_t as an int is consistent with its definition in 'ruby/io.h' to avoid potential type mismatches.
typedef int rb_io_mode_t;
ext/stringio/stringio.c:47
- Ensure that all usages of the 'flags' field align with rb_io_mode_t semantics, especially regarding potential signedness differences.
rb_io_mode_t flags;
bac8694
to
f753b90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Should we release this soon?
(ruby/stringio#129) Companion PR to <#7894>. ruby/stringio@2d3988e12f
There is another fix for frozen string literals that we should merge before a release, but yes that would be great. |
Yes more discussion is required but it’s definitely a big. I trust Jeremy. |
Companion PR to ruby/ruby#7894.