summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclOODecls.h29
-rw-r--r--generic/tclOOIntDecls.h27
3 files changed, 59 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fc8f1aa..ce12066 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-01 Kevin B. Kenny <kennykb@acm.org>
+
+ * generic/tclOODecls.h: Added the swizzling of DLLEXPORT and
+ * generic/tclOOIntDecls.h: DLLIMPORT needed to make EXTERN work.
+
2008-06-01 Donal K. Fellows <dkf@users.sf.net>
* generic/tclOO.decls, unix/Makefile.in (genstubs): Make generation of
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 */
diff --git a/generic/tclOOIntDecls.h b/generic/tclOOIntDecls.h
index 4ee8b8d..bc6c2d3 100644
--- a/generic/tclOOIntDecls.h
+++ b/generic/tclOOIntDecls.h
@@ -1,9 +1,29 @@
/*
- * $Id: tclOOIntDecls.h,v 1.3 2008/06/01 00:33:05 dkf Exp $
+ * $Id: tclOOIntDecls.h,v 1.4 2008/06/01 02:02:49 kennykb Exp $
*
* This file is (mostly) automatically generated from tclOO.decls.
*/
+#ifndef _TCLOOINTDECLS
+#define _TCLOOINTDECLS
+
+#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.
+ */
+
/* !BEGIN!: Do not edit below this line. */
/*
@@ -242,3 +262,8 @@ struct TclOOStubAPI {
CONST TclOOStubs *stubsPtr;
CONST TclOOIntStubs *intStubsPtr;
};
+
+#undef TCL_STORAGE_CLASS
+#define TCL_STORAGE_CLASS DLLIMPORT
+
+#endif /* _TCLOODECLS */