summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-05 20:53:12 (GMT)
committernijtmans <nijtmans>2010-02-05 20:53:12 (GMT)
commit9f80e538be5be980c7e52789ff2162b08db46823 (patch)
treea7fd50364b89ff5d71caa2334171f35231b0dd1c /generic/tclOO.c
parent66b1b7dda9580db59b81a9fe27b553015e5a65bd (diff)
downloadtcl-9f80e538be5be980c7e52789ff2162b08db46823.zip
tcl-9f80e538be5be980c7e52789ff2162b08db46823.tar.gz
tcl-9f80e538be5be980c7e52789ff2162b08db46823.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.
Diffstat (limited to 'generic/tclOO.c')
-rw-r--r--generic/tclOO.c6
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);
}
/*