summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--generic/tclTomMath.h12
2 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5948c55..aa3b60c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
2005-09-26 Kevin Kenny <kennykb@acm.org>
- * libtommath/: Updated to release 0.36.
- * generic/tommath.h: Regenerated.
+ * libtommath/: Updated to release 0.36.
+ * generic/tommath.h: Regenerated.
+ * generic/tclTomMathInterface.h: Added ten missing aliases for
+ mp_* functions to avoid namespace
+ pollution in Tcl's exported
+ symbols. [Bug 1263012]
2005-09-15 Miguel Sofer <msofer@users.sf.net>
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index 4ffbea2..313b6a4 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTomMath.h,v 1.2 2005/05/10 18:34:51 kennykb Exp $
+ * RCS: @(#) $Id: tclTomMath.h,v 1.3 2005/09/26 19:31:18 kennykb Exp $
*/
#ifndef TCLTOMMATH_H
@@ -69,7 +69,9 @@ void* TclBNCalloc( size_t, size_t );
#define bn_reverse TclBN_reverse
#define fast_s_mp_mul_digs TclBN_fast_s_mp_mul_digs
+#define fast_s_mp_sqr TclBN_fast_s_mp_sqr
#define mp_add TclBN_mp_add
+#define mp_add_d TclBN_mp_add_d
#define mp_clamp TclBN_mp_clamp
#define mp_clear TclBN_mp_clear
#define mp_clear_multi TclBN_mp_clear_multi
@@ -87,9 +89,12 @@ void* TclBNCalloc( size_t, size_t );
#define mp_init TclBN_mp_init
#define mp_init_copy TclBN_mp_init_copy
#define mp_init_multi TclBN_mp_init_multi
+#define mp_init_set TclBN_mp_init_set
#define mp_init_size TclBN_mp_init_size
#define mp_karatsuba_mul TclBN_mp_karatsuba_mul
+#define mp_karatsuba_sqr TclBN_mp_karatsuba_sqr
#define mp_lshd TclBN_mp_lshd
+#define mp_mod TclBN_mp_mod
#define mp_mod_2d TclBN_mp_mod_2d
#define mp_mul TclBN_mp_mul
#define mp_mul_2 TclBN_mp_mul_2
@@ -98,12 +103,17 @@ void* TclBNCalloc( size_t, size_t );
#define mp_radix_size TclBN_mp_radix_size
#define mp_read_radix TclBN_mp_read_radix
#define mp_rshd TclBN_mp_rshd
+#define mp_set TclBN_mp_set
+#define mp_sqr TclBN_mp_sqr
#define mp_sub TclBN_mp_sub
+#define mp_sub_d TclBN_mp_sub_d
#define mp_toom_mul TclBN_mp_toom_mul
+#define mp_toom_sqr TclBN_mp_toom_sqr
#define mp_toradix_n TclBN_mp_toradix_n
#define mp_zero TclBN_mp_zero
#define s_mp_add TclBN_s_mp_add
#define s_mp_mul_digs TclBN_s_mp_mul_digs
+#define s_mp_sqr TclBN_s_mp_sqr
#define s_mp_sub TclBN_s_mp_sub
#endif