diff options
author | Kevin B Kenny <kennykb@acm.org> | 2008-06-01 02:02:48 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2008-06-01 02:02:48 (GMT) |
commit | c954573bcefbcf4f7660bdb42bfe1d44f33950a7 (patch) | |
tree | 3c54f9e99462ad249266b4ec5a3495acf3eac0b8 /generic | |
parent | 1c1a6d7dbef7006050c0ff8351a29d7daf390efc (diff) | |
download | tcl-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')
-rw-r--r-- | generic/tclOODecls.h | 29 | ||||
-rw-r--r-- | generic/tclOOIntDecls.h | 27 |
2 files changed, 54 insertions, 2 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 */ 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 */ |