From df5ae0a55005f7f02adbf21790300f28dc2e12fc Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 27 Jun 2023 22:39:15 +0900 Subject: Use `rb_reg_nth_defined` instead of `rb_match_nth_defined` --- include/ruby/internal/intern/re.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/ruby/internal') 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); -- cgit v1.2.3