summaryrefslogtreecommitdiffstats
path: root/libtommath/mtest/mpi.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-16 15:22:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-16 15:22:26 (GMT)
commit68111aa5bf7fc228dcfda8beb9de265734925b56 (patch)
treefed7fb157cbaef79f43a45b27379a0fd2d64e6ea /libtommath/mtest/mpi.h
parent29606e4a7b43adb9f923fb5781d3b9a93d9ba1c8 (diff)
parent2adcff3e5ba6e09366ef4208ab81768803ba15bd (diff)
downloadtcl-68111aa5bf7fc228dcfda8beb9de265734925b56.zip
tcl-68111aa5bf7fc228dcfda8beb9de265734925b56.tar.gz
tcl-68111aa5bf7fc228dcfda8beb9de265734925b56.tar.bz2
(experimental) Upgrade to libtommath 1.0 (actually by merging all changes between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
Diffstat (limited to 'libtommath/mtest/mpi.h')
-rw-r--r--libtommath/mtest/mpi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libtommath/mtest/mpi.h b/libtommath/mtest/mpi.h
index 211421f..5accb52 100644
--- a/libtommath/mtest/mpi.h
+++ b/libtommath/mtest/mpi.h
@@ -5,6 +5,8 @@
Copyright (C) 1998 Michael J. Fromberger, All Rights Reserved
Arbitrary precision integer arithmetic library
+
+ $Id$
*/
#ifndef _H_MPI_
@@ -208,7 +210,7 @@ int mp_count_bits(mp_int *mp);
mp_err mp_read_radix(mp_int *mp, unsigned char *str, int radix);
int mp_radix_size(mp_int *mp, int radix);
int mp_value_radix_size(int num, int qty, int radix);
-mp_err mp_toradix(mp_int *mp, unsigned char *str, int radix);
+mp_err mp_toradix(mp_int *mp, char *str, int radix);
int mp_char2value(char ch, int r);
@@ -223,3 +225,7 @@ int mp_char2value(char ch, int r);
const char *mp_strerror(mp_err ec);
#endif /* end _H_MPI_ */
+
+/* $Source$ */
+/* $Revision$ */
+/* $Date$ */