summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-13 10:14:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-13 10:14:31 (GMT)
commit9d6ae5462247cf6c5ce043e4689c3e5210628e93 (patch)
tree6461d7a562bf2e681c2cf49147418c2349f58c07 /generic/tclInt.h
parentb9e8eecd80020e9dc1539f6f99f121472aff3126 (diff)
downloadtcl-9d6ae5462247cf6c5ce043e4689c3e5210628e93.zip
tcl-9d6ae5462247cf6c5ce043e4689c3e5210628e93.tar.gz
tcl-9d6ae5462247cf6c5ce043e4689c3e5210628e93.tar.bz2
Make mp_get_long and mp_set_long available to tommath-enabled Tcl extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 118af85..9a657de 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -2757,6 +2757,10 @@ MODULE_SCOPE long tclObjsShared[TCL_MAX_SHARED_OBJ_STATS];
MODULE_SCOPE char tclEmptyString;
+MODULE_SCOPE void TclInitBignumFromLong(mp_int *, long);
+MODULE_SCOPE void TclInitBignumFromWideInt(mp_int *, Tcl_WideInt);
+MODULE_SCOPE void TclInitBignumFromWideUInt(mp_int *, Tcl_WideUInt);
+
/*
*----------------------------------------------------------------
* Procedures shared among Tcl modules but not used by the outside world,