diff options
author | nijtmans <nijtmans@noemail.net> | 2008-10-22 20:23:59 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-10-22 20:23:59 (GMT) |
commit | 66d3df5a96a1db132096f48112f9c99f8754ae0c (patch) | |
tree | f697e3956660aaac137dd0ede261598f7662548e /generic/tclPlatDecls.h | |
parent | 931d6627d3274b5bf5cd80e507a3ab08c357b134 (diff) | |
download | tcl-66d3df5a96a1db132096f48112f9c99f8754ae0c.zip tcl-66d3df5a96a1db132096f48112f9c99f8754ae0c.tar.gz tcl-66d3df5a96a1db132096f48112f9c99f8754ae0c.tar.bz2 |
Letting CONST die a slow and graceful death, since NO_CONST was
broken since 8.4 and no-one complained about it.
FossilOrigin-Name: dc58eb7219d241ac91b3404382fe30280fced6a1
Diffstat (limited to 'generic/tclPlatDecls.h')
-rw-r--r-- | generic/tclPlatDecls.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/generic/tclPlatDecls.h b/generic/tclPlatDecls.h index b7e49b5..a868584 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.32 2008/07/22 23:01:43 das Exp $ + * RCS: @(#) $Id: tclPlatDecls.h,v 1.33 2008/10/22 20:23:59 nijtmans Exp $ */ #ifndef _TCLPLATDECLS @@ -51,13 +51,13 @@ #ifndef Tcl_WinUtfToTChar_TCL_DECLARED #define Tcl_WinUtfToTChar_TCL_DECLARED /* 0 */ -EXTERN TCHAR * Tcl_WinUtfToTChar (CONST char * str, int len, +EXTERN TCHAR * Tcl_WinUtfToTChar (const char * str, int len, Tcl_DString * dsPtr); #endif #ifndef Tcl_WinTCharToUtf_TCL_DECLARED #define Tcl_WinTCharToUtf_TCL_DECLARED /* 1 */ -EXTERN char * Tcl_WinTCharToUtf (CONST TCHAR * str, int len, +EXTERN char * Tcl_WinTCharToUtf (const TCHAR * str, int len, Tcl_DString * dsPtr); #endif #endif /* WIN */ @@ -65,37 +65,37 @@ EXTERN char * Tcl_WinTCharToUtf (CONST TCHAR * str, int len, #ifndef Tcl_MacOSXOpenBundleResources_TCL_DECLARED #define Tcl_MacOSXOpenBundleResources_TCL_DECLARED /* 0 */ -EXTERN int Tcl_MacOSXOpenBundleResources (Tcl_Interp * interp, - CONST char * bundleName, int hasResourceFile, +EXTERN int Tcl_MacOSXOpenBundleResources (Tcl_Interp * interp, + const char * bundleName, int hasResourceFile, int maxPathLen, char * libraryPath); #endif #ifndef Tcl_MacOSXOpenVersionedBundleResources_TCL_DECLARED #define Tcl_MacOSXOpenVersionedBundleResources_TCL_DECLARED /* 1 */ EXTERN int Tcl_MacOSXOpenVersionedBundleResources ( - Tcl_Interp * interp, CONST char * bundleName, - CONST char * bundleVersion, - int hasResourceFile, int maxPathLen, + Tcl_Interp * interp, const char * bundleName, + const char * bundleVersion, + int hasResourceFile, int maxPathLen, char * libraryPath); #endif #endif /* MACOSX */ typedef struct TclPlatStubs { int magic; - CONST struct TclPlatStubHooks *hooks; + const struct TclPlatStubHooks *hooks; #ifdef __WIN32__ /* WIN */ - TCHAR * (*tcl_WinUtfToTChar) (CONST char * str, int len, Tcl_DString * dsPtr); /* 0 */ - char * (*tcl_WinTCharToUtf) (CONST TCHAR * str, int len, Tcl_DString * dsPtr); /* 1 */ + TCHAR * (*tcl_WinUtfToTChar) (const char * str, int len, Tcl_DString * dsPtr); /* 0 */ + char * (*tcl_WinTCharToUtf) (const TCHAR * str, int len, Tcl_DString * dsPtr); /* 1 */ #endif /* WIN */ #ifdef MAC_OSX_TCL /* MACOSX */ - int (*tcl_MacOSXOpenBundleResources) (Tcl_Interp * interp, CONST char * bundleName, int hasResourceFile, int maxPathLen, char * libraryPath); /* 0 */ - int (*tcl_MacOSXOpenVersionedBundleResources) (Tcl_Interp * interp, CONST char * bundleName, CONST char * bundleVersion, int hasResourceFile, int maxPathLen, char * libraryPath); /* 1 */ + int (*tcl_MacOSXOpenBundleResources) (Tcl_Interp * interp, const char * bundleName, int hasResourceFile, int maxPathLen, char * libraryPath); /* 0 */ + int (*tcl_MacOSXOpenVersionedBundleResources) (Tcl_Interp * interp, const char * bundleName, const char * bundleVersion, int hasResourceFile, int maxPathLen, char * libraryPath); /* 1 */ #endif /* MACOSX */ } TclPlatStubs; #if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) -extern CONST TclPlatStubs *tclPlatStubsPtr; +extern const TclPlatStubs *tclPlatStubsPtr; #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ #if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) |