summaryrefslogtreecommitdiffstats
path: root/generic/tkStubLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkStubLib.c')
-rw-r--r--generic/tkStubLib.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c
index 0fa5d11..ddfe8cf 100644
--- a/generic/tkStubLib.c
+++ b/generic/tkStubLib.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkStubLib.c,v 1.9 2004/03/17 18:15:44 das Exp $
+ * RCS: @(#) $Id: tkStubLib.c,v 1.10 2005/11/27 02:36:14 das Exp $
*/
@@ -50,12 +50,18 @@
/*
* Ensure that Tk_InitStubs is built as an exported symbol. The other stub
- * functions should be built as non-exported symbols.
+ * symbols should be built as non-exported symbols.
*/
#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLEXPORT
+MODULE_SCOPE TkStubs *tkStubsPtr;
+MODULE_SCOPE TkPlatStubs *tkPlatStubsPtr;
+MODULE_SCOPE TkIntStubs *tkIntStubsPtr;
+MODULE_SCOPE TkIntPlatStubs *tkIntPlatStubsPtr;
+MODULE_SCOPE TkIntXlibStubs *tkIntXlibStubsPtr;
+
TkStubs *tkStubsPtr;
TkPlatStubs *tkPlatStubsPtr;
TkIntStubs *tkIntStubsPtr;
@@ -85,7 +91,7 @@ TkIntXlibStubs *tkIntXlibStubsPtr;
#undef Tk_InitStubs
#endif
-CONST char *
+MODULE_SCOPE CONST char *
Tk_InitStubs(interp, version, exact)
Tcl_Interp *interp;
char *version;