diff options
author | nijtmans <nijtmans> | 2011-01-19 08:04:48 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2011-01-19 08:04:48 (GMT) |
commit | 53f76ae4c76d0f42251c53a6752d5767c23c20b0 (patch) | |
tree | 185a475f093fa656e97af07f3f4ffe6628c7b865 /generic/tclIntPlatDecls.h | |
parent | cc8366263b4a7bcff79d426bf5ec811715a7d0b7 (diff) | |
download | tcl-53f76ae4c76d0f42251c53a6752d5767c23c20b0.zip tcl-53f76ae4c76d0f42251c53a6752d5767c23c20b0.tar.gz tcl-53f76ae4c76d0f42251c53a6752d5767c23c20b0.tar.bz2 |
Make sure to use CONST/VOID in stead of
const/void when appropriate. This allows to
use const/void in the *.decls file always,
genStubs will do the right thing.
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r-- | generic/tclIntPlatDecls.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h index cd9d2b3..73805af 100644 --- a/generic/tclIntPlatDecls.h +++ b/generic/tclIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.32.2.3 2010/02/07 22:16:54 nijtmans Exp $ + * RCS: @(#) $Id: tclIntPlatDecls.h,v 1.32.2.4 2011/01/19 08:04:49 nijtmans Exp $ */ #ifndef _TCLINTPLATDECLS @@ -216,7 +216,7 @@ EXTERN TclFile TclpOpenFile(CONST char *fname, int mode); #ifndef TclWinAddProcess_TCL_DECLARED #define TclWinAddProcess_TCL_DECLARED /* 20 */ -EXTERN void TclWinAddProcess(void *hProcess, unsigned long id); +EXTERN void TclWinAddProcess(VOID *hProcess, unsigned long id); #endif /* Slot 21 is reserved */ #ifndef TclpCreateTempFile_TCL_DECLARED @@ -369,7 +369,7 @@ EXTERN int TclMacOSXMatchType(Tcl_Interp *interp, #define TclMacOSXNotifierAddRunLoopMode_TCL_DECLARED /* 19 */ EXTERN void TclMacOSXNotifierAddRunLoopMode( - CONST void *runLoopMode); + CONST VOID *runLoopMode); #endif #endif /* MACOSX */ @@ -415,7 +415,7 @@ typedef struct TclIntPlatStubs { void *reserved17; TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 18 */ TclFile (*tclpOpenFile) (CONST char *fname, int mode); /* 19 */ - void (*tclWinAddProcess) (void *hProcess, unsigned long id); /* 20 */ + void (*tclWinAddProcess) (VOID *hProcess, unsigned long id); /* 20 */ void *reserved21; TclFile (*tclpCreateTempFile) (CONST char *contents); /* 22 */ char * (*tclpGetTZName) (int isdst); /* 23 */ @@ -446,7 +446,7 @@ typedef struct TclIntPlatStubs { int (*tclMacOSXSetFileAttribute) (Tcl_Interp *interp, int objIndex, Tcl_Obj *fileName, Tcl_Obj *attributePtr); /* 16 */ int (*tclMacOSXCopyFileAttributes) (CONST char *src, CONST char *dst, CONST Tcl_StatBuf *statBufPtr); /* 17 */ int (*tclMacOSXMatchType) (Tcl_Interp *interp, CONST char *pathName, CONST char *fileName, Tcl_StatBuf *statBufPtr, Tcl_GlobTypeData *types); /* 18 */ - void (*tclMacOSXNotifierAddRunLoopMode) (CONST void *runLoopMode); /* 19 */ + void (*tclMacOSXNotifierAddRunLoopMode) (CONST VOID *runLoopMode); /* 19 */ #endif /* MACOSX */ } TclIntPlatStubs; |