From dc8afd385de88dfc77ed9d246f9664b87420eb03 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 12 Dec 2018 11:06:47 +0000 Subject: complex.c: rb_complex_new_polar * complex.c (rb_complex_new_polar): renamed with _new to clarify that it creates a new instance, but is not an instance method. * complex.c (rb_complex_polar): deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 014d1ab98a..67c84332b5 100644 --- a/internal.h +++ b/internal.h @@ -1384,7 +1384,7 @@ VALUE rb_complex_plus(VALUE, VALUE); VALUE rb_complex_mul(VALUE, VALUE); VALUE rb_complex_abs(VALUE x); VALUE rb_complex_sqrt(VALUE x); -VALUE rb_dbl_complex_polar_pi(double abs, double ang); +VALUE rb_dbl_complex_new_polar_pi(double abs, double ang); VALUE rb_complex_pow(VALUE self, VALUE other); struct rb_thread_struct; -- cgit v1.2.3