summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-08 14:15:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-08 14:15:13 (GMT)
commit72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5 (patch)
treecdcbe1f7914fe91fdc459bb357195d82514df01c /generic/tclTomMath.h
parent86eedd9ac8aa6c202c941fe08d1ec6fd255f422f (diff)
downloadtcl-72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5.zip
tcl-72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5.tar.gz
tcl-72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5.tar.bz2
Add some more functions from libtommath for availability within Tcl (mainly the 'long long' variants). Add more 'const' keywords there too.
Diffstat (limited to 'generic/tclTomMath.h')
-rw-r--r--generic/tclTomMath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index 508fadd..7e3c29e 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -273,7 +273,7 @@ int mp_set_long(mp_int *a, unsigned long b);
/* set a platform dependent unsigned long long value */
/*
-int mp_set_long_long(mp_int *a, unsigned long long b);
+int mp_set_long_long(mp_int *a, Tcl_WideUInt b);
*/
/* get a 32-bit value */
@@ -288,7 +288,7 @@ unsigned long mp_get_long(const mp_int * a);
/* get a platform dependent unsigned long long value */
/*
-unsigned long long mp_get_long_long(const mp_int * a);
+Tcl_WideUInt mp_get_long_long(const mp_int * a);
*/
/* initialize and set a digit */