diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-10-13 16:19:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-10-13 16:19:44 (GMT) |
commit | a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15 (patch) | |
tree | dec7c290e72d083bd4b35a355560b722b53b48b9 /generic/tclStubInit.c | |
parent | 5ab205e3a03e8c73052ecffe7173cb205398c779 (diff) | |
download | tcl-a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15.zip tcl-a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15.tar.gz tcl-a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15.tar.bz2 |
The Tcl 9.0 way of how [dfc08326e3] should be fixed: Real integration of TclOO in Tcl means that calling the function Tcl_OOInitStubs() should be elminated in full. This branch shows how to do that.rfe_dfc08326e3
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r-- | generic/tclStubInit.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 5fb501a..1ec155a 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -10,8 +10,15 @@ */ #include "tclInt.h" +#include "tclOOInt.h" #include "tommath.h" +/* + * The actual definition of the variable holding the TclOO stub table. + */ + +MODULE_SCOPE const TclOOStubs tclOOStubs; + #ifdef __GNUC__ #pragma GCC dependency "tcl.decls" #pragma GCC dependency "tclInt.decls" @@ -694,7 +701,8 @@ const TclTomMathStubs tclTomMathStubs = { static const TclStubHooks tclStubHooks = { &tclPlatStubs, &tclIntStubs, - &tclIntPlatStubs + &tclIntPlatStubs, + &tclOOStubs }; const TclStubs tclStubs = { |