diff options
author | nijtmans <nijtmans@noemail.net> | 2008-12-05 15:51:31 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-12-05 15:51:31 (GMT) |
commit | d61aadf5ee98dfbeb0220d799bd1c3128944de13 (patch) | |
tree | 485fbbfd2ae880eb037fd8f7fe400a490cfe5174 /generic/tkIntDecls.h | |
parent | b5af846cd225b3befc0f076de979e099150d768a (diff) | |
download | tk-d61aadf5ee98dfbeb0220d799bd1c3128944de13.zip tk-d61aadf5ee98dfbeb0220d799bd1c3128944de13.tar.gz tk-d61aadf5ee98dfbeb0220d799bd1c3128944de13.tar.bz2 |
undid previous 'fix': 'const' is only useful for pointers, not for
opaque types. Therefore it should not have slipped in here.
FossilOrigin-Name: 8e68859f53d222add454fc02087b63c034f29648
Diffstat (limited to 'generic/tkIntDecls.h')
-rw-r--r-- | generic/tkIntDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h index 77e429a..78bf6d1 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.40 2008/12/04 21:33:25 nijtmans Exp $ + * RCS: @(#) $Id: tkIntDecls.h,v 1.41 2008/12/05 15:51:31 nijtmans Exp $ */ #ifndef _TKINTDECLS @@ -993,7 +993,7 @@ EXTERN int TkTextIndexForwBytes (const struct TkText * textPtr, #ifndef TkTextMakeByteIndex_TCL_DECLARED #define TkTextMakeByteIndex_TCL_DECLARED /* 162 */ -EXTERN struct TkTextIndex * TkTextMakeByteIndex (const TkTextBTree tree, +EXTERN struct TkTextIndex * TkTextMakeByteIndex (TkTextBTree tree, const struct TkText * textPtr, int lineIndex, int byteIndex, struct TkTextIndex * indexPtr); #endif @@ -1306,7 +1306,7 @@ typedef struct TkIntStubs { int (*tkTextGetIndex) (Tcl_Interp * interp, struct TkText * textPtr, const char * string, struct TkTextIndex * indexPtr); /* 159 */ int (*tkTextIndexBackBytes) (const struct TkText * textPtr, const struct TkTextIndex * srcPtr, int count, struct TkTextIndex * dstPtr); /* 160 */ int (*tkTextIndexForwBytes) (const struct TkText * textPtr, const struct TkTextIndex * srcPtr, int count, struct TkTextIndex * dstPtr); /* 161 */ - struct TkTextIndex * (*tkTextMakeByteIndex) (const TkTextBTree tree, const struct TkText * textPtr, int lineIndex, int byteIndex, struct TkTextIndex * indexPtr); /* 162 */ + struct TkTextIndex * (*tkTextMakeByteIndex) (TkTextBTree tree, const struct TkText * textPtr, int lineIndex, int byteIndex, struct TkTextIndex * indexPtr); /* 162 */ int (*tkTextPrintIndex) (const struct TkText * textPtr, const struct TkTextIndex * indexPtr, char * string); /* 163 */ struct TkTextSegment * (*tkTextSetMark) (struct TkText * textPtr, const char * name, struct TkTextIndex * indexPtr); /* 164 */ int (*tkTextXviewCmd) (struct TkText * textPtr, Tcl_Interp * interp, int objc, Tcl_Obj *const objv[]); /* 165 */ |