diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-10 21:16:06 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-10 21:16:06 (GMT) |
commit | 0bd8e4a634e88f8415e8904c7e5ed4c87a0243af (patch) | |
tree | c346e8fe0aafcbb4b97991d74487c0da18db72f0 /generic/tclStubInit.c | |
parent | 919d62dcd3d557c7976c331687ef9e8bbf6560c9 (diff) | |
download | tcl-0bd8e4a634e88f8415e8904c7e5ed4c87a0243af.zip tcl-0bd8e4a634e88f8415e8904c7e5ed4c87a0243af.tar.gz tcl-0bd8e4a634e88f8415e8904c7e5ed4c87a0243af.tar.bz2 |
Make internal libtommath symbols MODULE_SCOPE, and remove them from the stub table: They are not supposed to be called by extensions.
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r-- | generic/tclStubInit.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index e49fc02..b00b233 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -638,17 +638,17 @@ const TclTomMathStubs tclTomMathStubs = { TclBN_mp_unsigned_bin_size, /* 47 */ TclBN_mp_xor, /* 48 */ TclBN_mp_zero, /* 49 */ - TclBN_reverse, /* 50 */ - TclBN_fast_s_mp_mul_digs, /* 51 */ - TclBN_fast_s_mp_sqr, /* 52 */ - TclBN_mp_karatsuba_mul, /* 53 */ - TclBN_mp_karatsuba_sqr, /* 54 */ - TclBN_mp_toom_mul, /* 55 */ - TclBN_mp_toom_sqr, /* 56 */ - TclBN_s_mp_add, /* 57 */ - TclBN_s_mp_mul_digs, /* 58 */ - TclBN_s_mp_sqr, /* 59 */ - TclBN_s_mp_sub, /* 60 */ + 0, /* 50 */ + 0, /* 51 */ + 0, /* 52 */ + 0, /* 53 */ + 0, /* 54 */ + 0, /* 55 */ + 0, /* 56 */ + 0, /* 57 */ + 0, /* 58 */ + 0, /* 59 */ + 0, /* 60 */ TclBN_mp_init_set_int, /* 61 */ TclBN_mp_set_int, /* 62 */ TclBN_mp_cnt_lsb, /* 63 */ |