diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-27 22:39:15 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-27 22:39:15 +0900 |
commit | df5ae0a55005f7f02adbf21790300f28dc2e12fc (patch) | |
tree | 3e89aa8f802e416b76056bdee163a08c7953cffe /include | |
parent | eaad44adb2043f0b597196fd44cfaae8db3a3b18 (diff) |
Use `rb_reg_nth_defined` instead of `rb_match_nth_defined`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7983
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/intern/re.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/ruby/internal/intern/re.h b/include/ruby/internal/intern/re.h index 31f5593275..4dd58b469b 100644 --- a/include/ruby/internal/intern/re.h +++ b/include/ruby/internal/intern/re.h @@ -87,11 +87,6 @@ void rb_match_busy(VALUE md); * @retval RUBY_Qfalse There is a `n`-th capture and is empty. * @retval RUBY_Qtrue There is a `n`-th capture that has something. * - * @internal - * - * @shyouhei wonders: why there are both rb_reg_match_defined() and - * rb_match_nth_defined, which are largely the same things, but do not share - * their implementations at all? */ VALUE rb_reg_nth_defined(int n, VALUE md); |