Skip to content

Commit 479185d

Browse files
committed
Add Set C API to news
Also, don't use backticks around Set in the top level of the Core classes updates section, as other classes/modules do not use that format.
1 parent 5f6b31c commit 479185d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

NEWS.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Note: We're only listing outstanding class updates.
160160
Ruby-related constants. This module was reserved in Ruby 3.4
161161
and is now officially defined. [[Feature #20884]]
162162
163-
* `Set`
163+
* Set
164164
165165
* `Set` is now a core class, instead of an autoloaded stdlib class.
166166
[[Feature #21216]]
@@ -342,6 +342,20 @@ The following bundled gems are updated.
342342
`IO` objects share the same file descriptor, closing one does not affect
343343
the other. [[Feature #18455]]
344344
345+
* Set
346+
347+
* A C API for `Set` has been added. The following methods are supported:
348+
[[Feature #21459]]
349+
350+
* `rb_set_foreach`
351+
* `rb_set_new`
352+
* `rb_set_new_capa`
353+
* `rb_set_lookup`
354+
* `rb_set_add`
355+
* `rb_set_clear`
356+
* `rb_set_delete`
357+
* `rb_set_size`
358+
345359
## Implementation improvements
346360
347361
### Ractor
@@ -409,6 +423,7 @@ A lot of work has gone into making Ractors more stable, performant, and usable.
409423
[Feature #21360]: https://bugs.ruby-lang.org/issues/21360
410424
[Feature #21389]: https://bugs.ruby-lang.org/issues/21389
411425
[Feature #21390]: https://bugs.ruby-lang.org/issues/21390
426+
[Feature #21459]: https://bugs.ruby-lang.org/issues/21459
412427
[Feature #21527]: https://bugs.ruby-lang.org/issues/21527
413428
[Feature #21550]: https://bugs.ruby-lang.org/issues/21550
414429
[Feature #21557]: https://bugs.ruby-lang.org/issues/21557

0 commit comments

Comments
 (0)