mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
Mention rb_len2long in NEWS
https://bugs.ruby-lang.org/issues/22400 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b377234135
commit
9f70573c22
1 file changed
+4
Notes:
git
2026-10-10 23:35:20 +00:00
@@ -505,6 +505,10 @@ Ruby 4.0 bundled RubyGems and Bundler version 4. see the following links for det
|
||||
`rb_range_beg_len`, uses them. A later change will makes them 64 bits on mswin,
|
||||
so extensions should keep these lengths in `rb_len_t`. [[Feature #22400]]
|
||||
|
||||
* `rb_len2long` is added to convert an `rb_len_t` to `long`, raising
|
||||
`RangeError` via the new `rb_out_of_long` when it does not fit, for
|
||||
extensions that keep a length in `long`. [[Feature #22400]]
|
||||
|
||||
### Removed APIs
|
||||
|
||||
The following APIs, which have been deprecated for many years, are removed.
|
||||
|
||||
Reference in new issue
Block a user