diff options
author | das <das@noemail.net> | 2008-04-16 14:49:28 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2008-04-16 14:49:28 (GMT) |
commit | 278f2d8986a3262a6580b5235018ebce4d128c03 (patch) | |
tree | 9f4d763e4feec43980c4ccc9d7e151d0af7b0c91 /generic/tclTomMathInterface.c | |
parent | d949be506bb3fc70be4d5272d14e60db976207da (diff) | |
download | tcl-278f2d8986a3262a6580b5235018ebce4d128c03.zip tcl-278f2d8986a3262a6580b5235018ebce4d128c03.tar.gz tcl-278f2d8986a3262a6580b5235018ebce4d128c03.tar.bz2 |
* generic/tclInt.h: make stubs tables 'static const' and
* generic/tclStubInit.c: export only module-scope pointers to
* generic/tclStubLib.c: the main stubs tables (for package
* tools/genStubs.tcl: initialization). [Patch 1938497]
* generic/tclBasic.c (Tcl_CreateInterp):
* generic/tclTomMathInterface.c (TclTommath_Init):
FossilOrigin-Name: 50b59ad915b6f60d4518e206ed3d9cd3232e9635
Diffstat (limited to 'generic/tclTomMathInterface.c')
-rw-r--r-- | generic/tclTomMathInterface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTomMathInterface.c b/generic/tclTomMathInterface.c index 6e52245..ddd5908 100644 --- a/generic/tclTomMathInterface.c +++ b/generic/tclTomMathInterface.c @@ -11,14 +11,14 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTomMathInterface.c,v 1.10 2007/12/13 15:23:20 dgp Exp $ + * RCS: @(#) $Id: tclTomMathInterface.c,v 1.11 2008/04/16 14:49:29 das Exp $ */ #include "tclInt.h" #include "tommath.h" #include <limits.h> -extern TclTomMathStubs tclTomMathStubs; +MODULE_SCOPE const TclTomMathStubs * const tclTomMathConstStubsPtr; /* *---------------------------------------------------------------------- @@ -45,7 +45,7 @@ TclTommath_Init( /* TIP #268: Full patchlevel instead of just major.minor */ if (Tcl_PkgProvideEx(interp, "tcl::tommath", TCL_PATCH_LEVEL, - (ClientData)&tclTomMathStubs) != TCL_OK) { + (ClientData) tclTomMathConstStubsPtr) != TCL_OK) { return TCL_ERROR; } return TCL_OK; |