From 7b3ac07781be812468674911825e86cd82dfb5b8 Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 20 Apr 2017 08:21:24 +0000 Subject: Removed deprecated extensions of mathn. * ext/mathn/{complex,rational}: Removed from ruby core. [fix GH-1542][Feature #13334][ruby-core:80247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/mathn/complex/complex.c | 7 ------- ext/mathn/complex/extconf.rb | 4 ---- ext/mathn/rational/extconf.rb | 4 ---- ext/mathn/rational/rational.c | 7 ------- 4 files changed, 22 deletions(-) delete mode 100644 ext/mathn/complex/complex.c delete mode 100644 ext/mathn/complex/extconf.rb delete mode 100644 ext/mathn/rational/extconf.rb delete mode 100644 ext/mathn/rational/rational.c (limited to 'ext/mathn') diff --git a/ext/mathn/complex/complex.c b/ext/mathn/complex/complex.c deleted file mode 100644 index dce494959f..0000000000 --- a/ext/mathn/complex/complex.c +++ /dev/null @@ -1,7 +0,0 @@ -extern void nucomp_canonicalization(int); - -void -Init_complex(void) -{ - nucomp_canonicalization(1); -} diff --git a/ext/mathn/complex/extconf.rb b/ext/mathn/complex/extconf.rb deleted file mode 100644 index a3f45ac4fc..0000000000 --- a/ext/mathn/complex/extconf.rb +++ /dev/null @@ -1,4 +0,0 @@ -# frozen_string_literal: false -require "mkmf" - -create_makefile "mathn/complex" diff --git a/ext/mathn/rational/extconf.rb b/ext/mathn/rational/extconf.rb deleted file mode 100644 index 4e4cc5f621..0000000000 --- a/ext/mathn/rational/extconf.rb +++ /dev/null @@ -1,4 +0,0 @@ -# frozen_string_literal: false -require "mkmf" - -create_makefile "mathn/rational" diff --git a/ext/mathn/rational/rational.c b/ext/mathn/rational/rational.c deleted file mode 100644 index 2ac5999946..0000000000 --- a/ext/mathn/rational/rational.c +++ /dev/null @@ -1,7 +0,0 @@ -extern void nurat_canonicalization(int); - -void -Init_rational(void) -{ - nurat_canonicalization(1); -} -- cgit v1.2.3