Commit 700a79ea66155eab0eca6fb7bcfca36278e8f3c5

nijtmans 2019-10-18T09:28:11

remove deprecated functions from tommath.def too

diff --git a/helper.pl b/helper.pl
index 69734ba..03b081c 100755
--- a/helper.pl
+++ b/helper.pl
@@ -428,8 +428,6 @@ sub generate_def {
     @files = map { my $x = $_; $x =~ s/^bn_|\.c$//g; $x; } @files;
     @files = grep(!/mp_radix_smap/, @files);
 
-    push(@files, qw(mp_set_int mp_set_long mp_set_long_long mp_get_int mp_get_long mp_get_long_long mp_init_set_int));
-
     my $files = join("\n    ", sort(grep(/^mp_/, @files)));
     write_file "tommath.def", "; libtommath
 ;
diff --git a/tommath.def b/tommath.def
index 229fae4..9c7f226 100644
--- a/tommath.def
+++ b/tommath.def
@@ -44,11 +44,8 @@ EXPORTS
     mp_get_double
     mp_get_i32
     mp_get_i64
-    mp_get_int
     mp_get_l
     mp_get_ll
-    mp_get_long
-    mp_get_long_long
     mp_get_mag_u32
     mp_get_mag_u64
     mp_get_mag_ul
@@ -63,7 +60,6 @@ EXPORTS
     mp_init_ll
     mp_init_multi
     mp_init_set
-    mp_init_set_int
     mp_init_size
     mp_init_u32
     mp_init_u64
@@ -118,11 +114,8 @@ EXPORTS
     mp_set_double
     mp_set_i32
     mp_set_i64
-    mp_set_int
     mp_set_l
     mp_set_ll
-    mp_set_long
-    mp_set_long_long
     mp_set_u32
     mp_set_u64
     mp_set_ul