diff options
author | nijtmans <nijtmans@noemail.net> | 2010-02-05 20:53:12 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-02-05 20:53:12 (GMT) |
commit | 16100fde77c689bb94455ebf7026708590140758 (patch) | |
tree | a7fd50364b89ff5d71caa2334171f35231b0dd1c /generic/tclOO.c | |
parent | 191c0c3cac3b51da331715f95d8781c87810900e (diff) | |
download | tcl-16100fde77c689bb94455ebf7026708590140758.zip tcl-16100fde77c689bb94455ebf7026708590140758.tar.gz tcl-16100fde77c689bb94455ebf7026708590140758.tar.bz2 |
Follow-up to earlier commit today:
Eliminate the need for an extra Stubs Pointer
for adressing a static stub table: Just change
the exported table from static to MODULE_SCOPE.
FossilOrigin-Name: b809fb2cbc1d415f61219d9c1b019d552efde765
Diffstat (limited to 'generic/tclOO.c')
-rw-r--r-- | generic/tclOO.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c index c7bab53..f52ff35 100644 --- a/generic/tclOO.c +++ b/generic/tclOO.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclOO.c,v 1.29 2010/02/02 09:51:47 dkf Exp $ + * RCS: @(#) $Id: tclOO.c,v 1.30 2010/02/05 20:53:12 nijtmans Exp $ */ #ifdef HAVE_CONFIG_H @@ -136,7 +136,7 @@ static char initScript[] = /* "tcl_findLibrary tcloo $oo::version $oo::version" */ /* " tcloo.tcl OO_LIBRARY oo::library;"; */ -MODULE_SCOPE const TclOOStubs * const tclOOConstStubPtr; +MODULE_SCOPE const TclOOStubs tclOOConstStubs; /* * Convenience macro for getting the foundation from an interpreter. @@ -182,7 +182,7 @@ TclOOInit( } return Tcl_PkgProvideEx(interp, "TclOO", TCLOO_VERSION, - (ClientData) tclOOConstStubPtr); + (ClientData) &tclOOConstStubs); } /* |