summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-31 08:51:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-31 08:51:10 (GMT)
commit4f970286ec90b02eaf3ad950648ca61a79c193e9 (patch)
treeed3f975994e81fe4225ba79db8f1746d427737ec /generic/tkInt.h
parent85289793bcef6cb95dad1879cb483f5128be9d27 (diff)
downloadtk-4f970286ec90b02eaf3ad950648ca61a79c193e9.zip
tk-4f970286ec90b02eaf3ad950648ca61a79c193e9.tar.gz
tk-4f970286ec90b02eaf3ad950648ca61a79c193e9.tar.bz2
Put extern "C" guards around all stub table struct definitions,
so it is usable to be used for C++ compilers as well without the danger of modifying the calling convention. For tkDecls.h, ttkDecls.h tkIntXlibDecls.h is was no problem, because tk.h, tkTheme.h and Xlib.h already contain those guards. But not for the other *Decls.h files.
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 74fd351..15a01c5 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -976,11 +976,6 @@ MODULE_SCOPE CONST char *const tkWebColors[20];
#include "tkIntDecls.h"
-#ifdef BUILD_tk
-#undef TCL_STORAGE_CLASS
-#define TCL_STORAGE_CLASS DLLEXPORT
-#endif
-
/*
* Themed widget set init function:
*/
@@ -1201,9 +1196,6 @@ MODULE_SCOPE int TkUnsupported1ObjCmd(ClientData clientData,
Tcl_Interp *interp, int objc,
Tcl_Obj *const objv[]);
-#undef TCL_STORAGE_CLASS
-#define TCL_STORAGE_CLASS DLLIMPORT
-
#endif /* _TKINT */
/*