diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-13 10:14:31 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-13 10:14:31 (GMT) |
| commit | c659b044b1e05ff3f4bcd0a94b01b3d2611c251c (patch) | |
| tree | 6461d7a562bf2e681c2cf49147418c2349f58c07 /generic/tclDecls.h | |
| parent | 3e55dbb18cf086d34207ca2e744ecea04cc67b38 (diff) | |
| download | tcl-c659b044b1e05ff3f4bcd0a94b01b3d2611c251c.zip tcl-c659b044b1e05ff3f4bcd0a94b01b3d2611c251c.tar.gz tcl-c659b044b1e05ff3f4bcd0a94b01b3d2611c251c.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/tclDecls.h')
| -rw-r--r-- | generic/tclDecls.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h index d543238..464fc0f 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -23,6 +23,15 @@ # endif #endif +#if !defined(BUILD_tcl) +# define TCL_DEPRECATED(msg) EXTERN TCL_DEPRECATED_API(msg) +#elif defined(TCL_NO_DEPRECATED) +# define TCL_DEPRECATED(msg) MODULE_SCOPE +#else +# define TCL_DEPRECATED(msg) EXTERN +#endif + + /* * WARNING: This file is automatically generated by the tools/genStubs.tcl * script. Any modifications to the function declarations below should be made |
