summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-09-07 12:59:14 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-09-07 12:59:14 (GMT)
commit07439c39950eae5cb6e12fd1ae2f7ad82a0df062 (patch)
tree3175461f231ef95d2d3adbdb93f25359fd777517 /generic
parent176661769ec1b78bbe6debfc8f986b7cd7f21734 (diff)
parent48ce21e3a9c2c9da4e4674bf08275e378629a0e3 (diff)
downloadtcl-07439c39950eae5cb6e12fd1ae2f7ad82a0df062.zip
tcl-07439c39950eae5cb6e12fd1ae2f7ad82a0df062.tar.gz
tcl-07439c39950eae5cb6e12fd1ae2f7ad82a0df062.tar.bz2
Diffstat (limited to 'generic')
-rw-r--r--generic/tclTomMath.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/generic/tclTomMath.h b/generic/tclTomMath.h
index 39132ed..508fadd 100644
--- a/generic/tclTomMath.h
+++ b/generic/tclTomMath.h
@@ -277,13 +277,19 @@ int mp_set_long_long(mp_int *a, unsigned long long b);
*/
/* get a 32-bit value */
-unsigned long mp_get_int(mp_int * a);
+/*
+unsigned long mp_get_int(const mp_int * a);
+*/
/* get a platform dependent unsigned long value */
-unsigned long mp_get_long(mp_int * a);
+/*
+unsigned long mp_get_long(const mp_int * a);
+*/
/* get a platform dependent unsigned long long value */
-unsigned long long mp_get_long_long(mp_int * a);
+/*
+unsigned long long mp_get_long_long(const mp_int * a);
+*/
/* initialize and set a digit */
/*
@@ -339,7 +345,7 @@ int mp_div_2d(const mp_int *a, int b, mp_int *c, mp_int *d);
/* b = a/2 */
/*
-int mp_div_2(mp_int *a, mp_int *b);
+int mp_div_2(const mp_int *a, mp_int *b);
*/
/* c = a * 2**b, implemented as c = a << b */
@@ -349,7 +355,7 @@ int mp_mul_2d(const mp_int *a, int b, mp_int *c);
/* b = a*2 */
/*
-int mp_mul_2(mp_int *a, mp_int *b);
+int mp_mul_2(const mp_int *a, mp_int *b);
*/
/* c = a mod 2**b */
@@ -801,7 +807,7 @@ int mp_fwrite(mp_int *a, int radix, FILE *stream);
#endif
-/* ref: tag: v1.0.1, master */
-/* git commit: 5953f62e42b24af93748b1ee5e1d062e242c2546 */
-/* commit time: 2017-08-29 22:27:36 +0200 */
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */