summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-06-14 23:52:20 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-06-15 16:07:29 -0700
commit17d260a87fd0cb4433d29c21f3a69ea963c64056 (patch)
tree1daf9866025a2ebad7ec9c2d05c1ff0ff8264e11 /include
parent5310147bb826424059f258b76b37bebdc0abbc63 (diff)
downloadruby-17d260a87fd0cb4433d29c21f3a69ea963c64056.tar.gz
Restore rb_exec_recursive_outer
This was a public method, so we should probably keep it.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/intern/thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ruby/internal/intern/thread.h b/include/ruby/internal/intern/thread.h
index ef4274e4b3..716375acd7 100644
--- a/include/ruby/internal/intern/thread.h
+++ b/include/ruby/internal/intern/thread.h
@@ -292,7 +292,6 @@ VALUE rb_exec_recursive_paired(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VAL
* @param[in] f The function that possibly recurs.
* @param[in,out] g Passed as-is to `f`.
* @param[in,out] h Passed as-is to `f`.
- * @param[in] mid The ID of the method name being called
* @return The return value of f.
*
* @internal
@@ -300,7 +299,7 @@ VALUE rb_exec_recursive_paired(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VAL
* It seems nobody uses the "it calls rb_throw_obj()" part of this function.
* @shyouhei doesn't understand the needs.
*/
-VALUE rb_exec_recursive_outer_mid(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VALUE h, ID mid);
+VALUE rb_exec_recursive_outer(VALUE (*f)(VALUE g, VALUE h, int r), VALUE g, VALUE h);
/**
* Identical to rb_exec_recursive_outer(), except it checks for the recursion