summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-01-02 23:20:32 (GMT)
committernijtmans <nijtmans>2009-01-02 23:20:32 (GMT)
commitfb1c5e8f8ea40f38be0629ab2370d80574318ebb (patch)
tree42c956c7017f61a06ea37b259ec5ad3ae385d965 /generic/tkDecls.h
parentbfc634919d8d9db655eb5d54dd632fe9ab95cc2a (diff)
downloadtk-fb1c5e8f8ea40f38be0629ab2370d80574318ebb.zip
tk-fb1c5e8f8ea40f38be0629ab2370d80574318ebb.tar.gz
tk-fb1c5e8f8ea40f38be0629ab2370d80574318ebb.tar.bz2
CONSTify Tk_ClipboardAppend
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index 16af814..562de77 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkDecls.h,v 1.40 2008/11/12 00:15:26 nijtmans Exp $
+ * RCS: @(#) $Id: tkDecls.h,v 1.41 2009/01/02 23:20:32 nijtmans Exp $
*/
#ifndef _TKDECLS
@@ -194,7 +194,7 @@ EXTERN void Tk_ClearSelection (Tk_Window tkwin, Atom selection);
/* 25 */
EXTERN int Tk_ClipboardAppend (Tcl_Interp * interp,
Tk_Window tkwin, Atom target, Atom format,
- char* buffer);
+ const char* buffer);
#endif
#ifndef Tk_ClipboardClear_TCL_DECLARED
#define Tk_ClipboardClear_TCL_DECLARED
@@ -1731,7 +1731,7 @@ typedef struct TkStubs {
void (*tk_ChangeWindowAttributes) (Tk_Window tkwin, unsigned long valueMask, XSetWindowAttributes * attsPtr); /* 22 */
int (*tk_CharBbox) (Tk_TextLayout layout, int index, int * xPtr, int * yPtr, int * widthPtr, int * heightPtr); /* 23 */
void (*tk_ClearSelection) (Tk_Window tkwin, Atom selection); /* 24 */
- int (*tk_ClipboardAppend) (Tcl_Interp * interp, Tk_Window tkwin, Atom target, Atom format, char* buffer); /* 25 */
+ int (*tk_ClipboardAppend) (Tcl_Interp * interp, Tk_Window tkwin, Atom target, Atom format, const char* buffer); /* 25 */
int (*tk_ClipboardClear) (Tcl_Interp * interp, Tk_Window tkwin); /* 26 */
int (*tk_ConfigureInfo) (Tcl_Interp * interp, Tk_Window tkwin, Tk_ConfigSpec * specs, char * widgRec, const char * argvName, int flags); /* 27 */
int (*tk_ConfigureValue) (Tcl_Interp * interp, Tk_Window tkwin, Tk_ConfigSpec * specs, char * widgRec, const char * argvName, int flags); /* 28 */