Skip to content

Commit 87d2da7

Browse files
committed
Remove rb_complex_polar deprecated for 7 years
1 parent 2ad9f9d commit 87d2da7

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

complex.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,12 +1778,6 @@ rb_complex_new_polar(VALUE x, VALUE y)
17781778
return f_complex_polar(rb_cComplex, x, y);
17791779
}
17801780

1781-
VALUE
1782-
rb_complex_polar(VALUE x, VALUE y)
1783-
{
1784-
return rb_complex_new_polar(x, y);
1785-
}
1786-
17871781
VALUE
17881782
rb_Complex(VALUE x, VALUE y)
17891783
{

include/ruby/internal/intern/complex.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ VALUE rb_complex_new(VALUE real, VALUE imag);
8787
*/
8888
VALUE rb_complex_new_polar(VALUE abs, VALUE arg);
8989

90-
RBIMPL_ATTR_DEPRECATED(("by: rb_complex_new_polar"))
91-
/** @old{rb_complex_new_polar} */
92-
VALUE rb_complex_polar(VALUE abs, VALUE arg);
93-
9490
RBIMPL_ATTR_PURE()
9591
/**
9692
* Queries the real part of the passed Complex.

0 commit comments

Comments
 (0)