diff options
author | nijtmans <nijtmans> | 2008-11-05 22:48:58 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-05 22:48:58 (GMT) |
commit | 2d48ae8ff78acce1c21210e9e27220ad5e22e877 (patch) | |
tree | 01bfd4c701cdce4cf358e8bbc735ae929b1ab2f0 /generic/tkInt.decls | |
parent | 436906415b673fbac6d7ce14621ad07a9a78b4a2 (diff) | |
download | tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.zip tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.tar.gz tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.tar.bz2 |
CONSTify string and fileName parameters of TkGetBitmapData
more internal -Wwrite-string warning fixes
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r-- | generic/tkInt.decls | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index 1046450..3e09fd4 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tkInt.decls,v 1.47 2008/10/28 22:33:06 nijtmans Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.48 2008/11/05 22:48:58 nijtmans Exp $ library tk @@ -129,8 +129,9 @@ declare 29 generic { void TkpFreeCursor(TkCursor *cursorPtr) } declare 30 generic { - char *TkGetBitmapData(Tcl_Interp *interp, char *string, char *fileName, - int *widthPtr, int *heightPtr, int *hotXPtr, int *hotYPtr) + char *TkGetBitmapData(Tcl_Interp *interp, const char *string, + const char *fileName, int *widthPtr, int *heightPtr, + int *hotXPtr, int *hotYPtr) } declare 31 generic { void TkGetButtPoints(double p1[], double p2[], |