diff options
author | das <das> | 2008-04-02 21:32:32 (GMT) |
---|---|---|
committer | das <das> | 2008-04-02 21:32:32 (GMT) |
commit | b6aa2d67518ad50fdd96a64bd175d9ab6d8cbf02 (patch) | |
tree | a561d1b1c33b5cc093840e3640e2c0eee7854dca /generic/tkIntDecls.h | |
parent | d80afd9403e34db5407b5d005f40f1b69aae8267 (diff) | |
download | tk-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/tkIntDecls.h')
-rw-r--r-- | generic/tkIntDecls.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h index 5729545..3dc3cbf 100644 --- a/generic/tkIntDecls.h +++ b/generic/tkIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkIntDecls.h,v 1.32 2008/04/01 16:30:53 dgp Exp $ + * RCS: @(#) $Id: tkIntDecls.h,v 1.33 2008/04/02 21:32:32 das Exp $ */ #ifndef _TKINTDECLS @@ -961,7 +961,7 @@ EXTERN int TkpTesttextCmd (ClientData dummy, typedef struct TkIntStubs { int magic; - struct TkIntStubHooks *hooks; + CONST struct TkIntStubHooks *hooks; TkWindow * (*tkAllocWindow) (TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr); /* 0 */ void (*tkBezierPoints) (double control[], int numSteps, double * coordPtr); /* 1 */ @@ -1223,15 +1223,7 @@ typedef struct TkIntStubs { } TkIntStubs; #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntStubs *tkIntStubsPtr; -#ifdef __cplusplus -} -#endif - +EXTERN CONST TkIntStubs *tkIntStubsPtr; #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) |