diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-23 09:16:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-23 09:16:37 (GMT) |
commit | 2df6f12a996d019b78a31c15f5875e2609fb28b2 (patch) | |
tree | 55a9f72791801290593f4cec9b4bb2359aab54dc /libtommath | |
parent | 481c3a3fd52f111e7c645ea5b959fc128fe1d377 (diff) | |
download | tcl-2df6f12a996d019b78a31c15f5875e2609fb28b2.zip tcl-2df6f12a996d019b78a31c15f5875e2609fb28b2.tar.gz tcl-2df6f12a996d019b78a31c15f5875e2609fb28b2.tar.bz2 |
Extend libtommath stub table, so extension writers can move away from deprecated libtommath functions.
Diffstat (limited to 'libtommath')
-rw-r--r-- | libtommath/tommath_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libtommath/tommath_private.h b/libtommath/tommath_private.h index fe78d27..654d294 100644 --- a/libtommath/tommath_private.h +++ b/libtommath/tommath_private.h @@ -304,4 +304,7 @@ MP_DEPRECATED(s_mp_reverse) void bn_reverse(unsigned char *s, int len); return (a->sign == MP_NEG) ? (type)-res : (type)res; \ } +#undef mp_isodd +#define mp_isodd TclBN_mp_isodd + #endif |