diff options
author | Peter Zhu <[email protected]> | 2024-03-21 14:24:06 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-04-05 11:39:54 -0400 |
commit | dbe8886f4d28d9e5a01d3667cd451a623c3c1ccc (patch) | |
tree | 4accbaef608ebc9929cf57445209483cfb385761 /include/ruby/internal | |
parent | 831b06ea3dcb027247db256818a151c03fe95de6 (diff) |
Remove deprecated function rb_gc_force_recycle
This function has been deprecated since Ruby 3.1, so we should remove it
for Ruby 3.4.
Diffstat (limited to 'include/ruby/internal')
-rw-r--r-- | include/ruby/internal/gc.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/ruby/internal/gc.h b/include/ruby/internal/gc.h index ac9dfd8842..f36ec1590e 100644 --- a/include/ruby/internal/gc.h +++ b/include/ruby/internal/gc.h @@ -210,22 +210,6 @@ void rb_gc_mark_movable(VALUE obj); VALUE rb_gc_location(VALUE obj); /** - * Asserts that the passed object is no longer needed. Such objects are - * reclaimed sooner or later so this function is not mandatory. But sometimes - * you can know from your application knowledge that an object is surely dead - * at some point. Calling this as a hint can be a polite way. - * - * @param[out] obj Object, dead. - * @pre `obj` have never been passed to this function before. - * @post `obj` could be invalidated. - * @warning It is a failure to pass an object multiple times to this - * function. - * @deprecated This is now a no-op function. - */ -RBIMPL_ATTR_DEPRECATED(("this is now a no-op function")) -void rb_gc_force_recycle(VALUE obj); - -/** * Triggers a GC process. This was the only GC entry point that we had at the * beginning. Over time our GC evolved. Now what this function does is just a * very simplified variation of the entire GC algorithms. A series of |