summaryrefslogtreecommitdiffstats
path: root/generic/tclOODecls.h
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2008-06-01 02:02:48 (GMT)
committerKevin B Kenny <kennykb@acm.org>2008-06-01 02:02:48 (GMT)
commitc954573bcefbcf4f7660bdb42bfe1d44f33950a7 (patch)
tree3c54f9e99462ad249266b4ec5a3495acf3eac0b8 /generic/tclOODecls.h
parent1c1a6d7dbef7006050c0ff8351a29d7daf390efc (diff)
downloadtcl-c954573bcefbcf4f7660bdb42bfe1d44f33950a7.zip
tcl-c954573bcefbcf4f7660bdb42bfe1d44f33950a7.tar.gz
tcl-c954573bcefbcf4f7660bdb42bfe1d44f33950a7.tar.bz2
* generic/tclOODecls.h: Added the swizzling of DLLEXPORT and
* generic/tclOOIntDecls.h: DLLIMPORT needed to make EXTERN work.
Diffstat (limited to 'generic/tclOODecls.h')
-rw-r--r--generic/tclOODecls.h29
1 files changed, 28 insertions, 1 deletions
diff --git a/generic/tclOODecls.h b/generic/tclOODecls.h
index d697245..375abf3 100644
--- a/generic/tclOODecls.h
+++ b/generic/tclOODecls.h
@@ -1,10 +1,32 @@
/*
- * $Id: tclOODecls.h,v 1.3 2008/06/01 00:33:05 dkf Exp $
+ * $Id: tclOODecls.h,v 1.4 2008/06/01 02:02:48 kennykb Exp $
*
* This file is (mostly) automatically generated from tclOO.decls.
*/
+#ifndef _TCLOODECLS
+#define _TCLOODECLS
+
+#undef TCL_STORAGE_CLASS
+#ifdef BUILD_tcl
+# define TCL_STORAGE_CLASS DLLEXPORT
+#else
+# ifdef USE_TCL_STUBS
+# define TCL_STORAGE_CLASS
+# else
+# define TCL_STORAGE_CLASS DLLIMPORT
+# endif
+#endif
+
+/*
+ * WARNING: This file is automatically generated by the tools/genStubs.tcl
+ * script. Any modifications to the function declarations below should be made
+ * in the generic/tcl.decls script.
+ */
+
+
+
#if defined(USE_TCLOO_STUBS)
extern const char *TclOOInitializeStubs(Tcl_Interp *, const char *version);
#define Tcl_OOInitStubs(interp) TclOOInitializeStubs((interp),TCLOO_VERSION)
@@ -353,3 +375,8 @@ extern CONST TclOOStubs *tclOOStubsPtr;
#endif /* defined(USE_TCLOO_STUBS) && !defined(USE_TCLOO_STUB_PROCS) */
/* !END!: Do not edit above this line. */
+
+#undef TCL_STORAGE_CLASS
+#define TCL_STORAGE_CLASS DLLIMPORT
+
+#endif /* _TCLOODECLS */