summaryrefslogtreecommitdiffstats
path: root/generic/tclOOStubInit.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclOOStubInit.c')
-rw-r--r--generic/tclOOStubInit.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/generic/tclOOStubInit.c b/generic/tclOOStubInit.c
index 4ec3992..900ab22 100644
--- a/generic/tclOOStubInit.c
+++ b/generic/tclOOStubInit.c
@@ -1,6 +1,4 @@
/*
- * $Id: tclOOStubInit.c,v 1.7 2009/07/19 11:46:53 dkf Exp $
- *
* This file is (mostly) automatically generated from tclOO.decls.
* It is compiled and linked in with the tclOO package proper.
*/
@@ -8,14 +6,19 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include "tclOO.h"
#include "tclOOInt.h"
+MODULE_SCOPE const TclOOStubs tclOOStubs;
+
+#ifdef __GNUC__
+#pragma GCC dependency "tclOO.decls"
+#endif
+
/* !BEGIN!: Do not edit below this line. */
static const TclOOIntStubs tclOOIntStubs = {
TCL_STUB_MAGIC,
- NULL,
+ 0,
TclOOGetDefineCmdContext, /* 0 */
TclOOMakeProcInstanceMethod, /* 1 */
TclOOMakeProcMethod, /* 2 */
@@ -38,7 +41,7 @@ static const TclOOStubHooks tclOOStubHooks = {
&tclOOIntStubs
};
-static const TclOOStubs tclOOStubs = {
+const TclOOStubs tclOOStubs = {
TCL_STUB_MAGIC,
&tclOOStubHooks,
Tcl_CopyObjectInstance, /* 0 */
@@ -73,7 +76,3 @@ static const TclOOStubs tclOOStubs = {
};
/* !END!: Do not edit above this line. */
-
-MODULE_SCOPE const TclOOStubs * const tclOOConstStubPtr;
-const TclOOStubs * const tclOOConstStubPtr = &tclOOStubs;
-