summaryrefslogtreecommitdiffstats
path: root/generic/tclPlatDecls.h
diff options
context:
space:
mode:
authordas <das>2008-04-02 21:30:03 (GMT)
committerdas <das>2008-04-02 21:30:03 (GMT)
commitb8976fa1042002dfdf6692b7ae8b215423087d24 (patch)
tree493cf76e04c6f1a9654735af98eaafeff8d06b07 /generic/tclPlatDecls.h
parent039faefdd7231c1ffac3a2f89d3fe4d9ca05049c (diff)
downloadtcl-b8976fa1042002dfdf6692b7ae8b215423087d24.zip
tcl-b8976fa1042002dfdf6692b7ae8b215423087d24.tar.gz
tcl-b8976fa1042002dfdf6692b7ae8b215423087d24.tar.bz2
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h:
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r--generic/tclPlatDecls.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h
index 1e695eb..028c816 100644
--- a/generic/tclPlatDecls.h
+++ b/generic/tclPlatDecls.h
@@ -6,7 +6,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclPlatDecls.h,v 1.28 2008/04/01 16:23:41 dgp Exp $
+ * RCS: @(#) $Id: tclPlatDecls.h,v 1.29 2008/04/02 21:30:04 das Exp $
*/
#ifndef _TCLPLATDECLS
@@ -82,7 +82,7 @@ EXTERN int Tcl_MacOSXOpenVersionedBundleResources (
typedef struct TclPlatStubs {
int magic;
- struct TclPlatStubHooks *hooks;
+ CONST struct TclPlatStubHooks *hooks;
#ifdef __WIN32__ /* WIN */
TCHAR * (*tcl_WinUtfToTChar) (CONST char * str, int len, Tcl_DString * dsPtr); /* 0 */
@@ -95,15 +95,7 @@ typedef struct TclPlatStubs {
} TclPlatStubs;
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern TclPlatStubs *tclPlatStubsPtr;
-#ifdef __cplusplus
-}
-#endif
-
+EXTERN CONST TclPlatStubs *tclPlatStubsPtr;
#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */
#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS)