remove deprecated functions from tommath.def too
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
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