summaryrefslogtreecommitdiffstats
path: root/generic/tkIntPlatDecls.h
diff options
context:
space:
mode:
authordas <das>2008-04-02 21:32:32 (GMT)
committerdas <das>2008-04-02 21:32:32 (GMT)
commitb6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02 (patch)
treea561d1b1c33b5cc093840e3640e2c0eee7854dca /generic/tkIntPlatDecls.h
parentd80afd9403e34db5407b5d005f40f1b69aae8267 (diff)
downloadtk-b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02.zip
tk-b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02.tar.gz
tk-b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02.tar.bz2
* generic/tkDecls.h: make genstubs
* generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c:
Diffstat (limited to 'generic/tkIntPlatDecls.h')
-rw-r--r--generic/tkIntPlatDecls.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h
index 95881cd..84720fa 100644
--- a/generic/tkIntPlatDecls.h
+++ b/generic/tkIntPlatDecls.h
@@ -9,7 +9,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.30 2008/04/01 16:30:53 dgp Exp $
+ * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.31 2008/04/02 21:32:32 das Exp $
*/
#ifndef _TKINTPLATDECLS
@@ -556,7 +556,7 @@ EXTERN int TkpTestsendCmd (ClientData clientData,
typedef struct TkIntPlatStubs {
int magic;
- struct TkIntPlatStubHooks *hooks;
+ CONST struct TkIntPlatStubHooks *hooks;
#ifdef __WIN32__ /* WIN */
char * (*tkAlignImageData) (XImage * image, int alignment, int bitOrder); /* 0 */
@@ -671,15 +671,7 @@ typedef struct TkIntPlatStubs {
} TkIntPlatStubs;
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern TkIntPlatStubs *tkIntPlatStubsPtr;
-#ifdef __cplusplus
-}
-#endif
-
+EXTERN CONST TkIntPlatStubs *tkIntPlatStubsPtr;
#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)