diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-12 11:06:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-12 11:06:47 +0000 |
commit | dc8afd385de88dfc77ed9d246f9664b87420eb03 (patch) | |
tree | 4cab3cf0bb89a79c7f4dd7425b5425709d2d28db /internal.h | |
parent | dd046c59de93e9ecda0b56ec1eca10f8b4cda73e (diff) |
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
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |