summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-08 14:38:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-11-08 14:38:58 (GMT)
commitf0aca5d1127c20a130c784e7555cd84bcb2748b3 (patch)
treec8932186e22746454d98277e2408ce64f67bf3d5 /generic/tcl.h
parentd99627e7be69b7a881a5d57aab6f17b27b19d244 (diff)
parent1aafdd134e0b8454e83bc659eeb7f7dd2c5b2006 (diff)
downloadtcl-f0aca5d1127c20a130c784e7555cd84bcb2748b3.zip
tcl-f0aca5d1127c20a130c784e7555cd84bcb2748b3.tar.gz
tcl-f0aca5d1127c20a130c784e7555cd84bcb2748b3.tar.bz2
Merge trunk (order of man.macros inclusion).
Simplify TCLAPI definition: Since there are extern "C" guards around all TCLAPI usage, the definition itself doesn't need special C++ handling any more.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 4cbcebf..02b4750 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -215,8 +215,6 @@ extern "C" {
#ifdef BUILD_tcl
# define TCLAPI extern DLLEXPORT
-#elif defined(__cplusplus)
-# define TCLAPI extern "C" DLLIMPORT
#else
# define TCLAPI extern DLLIMPORT
#endif
@@ -2227,6 +2225,10 @@ TCLAPI void Tcl_FindExecutable(const char *argv0);
TCLAPI void Tcl_SetPanicProc(Tcl_PanicProc *panicProc);
TCLAPI void Tcl_MainEx(int argc, char **argv,
Tcl_AppInitProc *appInitProc, Tcl_Interp *interp);
+#if defined(_WIN32) && defined(UNICODE)
+TCLAPI void Tcl_MainExW(int argc, wchar_t **argv,
+ Tcl_AppInitProc *appInitProc, Tcl_Interp *interp);
+#endif
TCLAPI const char * Tcl_PkgInitStubsCheck(Tcl_Interp *interp,
const char *version, int exact);
#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)