diff options
author | fvogel <fvogelnew1@free.fr> | 2016-07-31 09:39:32 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2016-07-31 09:39:32 (GMT) |
commit | f661544bb3719c71d755ff14865a21cc812beb16 (patch) | |
tree | e37e643a549b285dc06606fb7539dbd364de1418 /generic/tkTextIndex.c | |
parent | b988bd249bb16b55c5b27ba7d5461a8889765589 (diff) | |
parent | aaba997116c73b942f078e7b4ce4cdd72943db1b (diff) | |
download | tk-f661544bb3719c71d755ff14865a21cc812beb16.zip tk-f661544bb3719c71d755ff14865a21cc812beb16.tar.gz tk-f661544bb3719c71d755ff14865a21cc812beb16.tar.bz2 |
merged trunk
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r-- | generic/tkTextIndex.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c index 8820191..92ca03b 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -40,9 +40,9 @@ static const char * StartEnd(TkText *textPtr, const char *string, static int GetIndex(Tcl_Interp *interp, TkSharedText *sharedPtr, TkText *textPtr, const char *string, TkTextIndex *indexPtr, int *canCachePtr); -static int IndexCountBytesOrdered(CONST TkText *textPtr, - CONST TkTextIndex *indexPtr1, - CONST TkTextIndex *indexPtr2); +static int IndexCountBytesOrdered(const TkText *textPtr, + const TkTextIndex *indexPtr1, + const TkTextIndex *indexPtr2); /* * The "textindex" Tcl_Obj definition: @@ -1636,9 +1636,9 @@ TkTextIndexForwChars( int TkTextIndexCountBytes( - CONST TkText *textPtr, - CONST TkTextIndex *indexPtr1, /* Index describing one location. */ - CONST TkTextIndex *indexPtr2) /* Index describing second location. */ + const TkText *textPtr, + const TkTextIndex *indexPtr1, /* Index describing one location. */ + const TkTextIndex *indexPtr2) /* Index describing second location. */ { int compare = TkTextIndexCmp(indexPtr1, indexPtr2); @@ -1653,11 +1653,11 @@ TkTextIndexCountBytes( static int IndexCountBytesOrdered( - CONST TkText *textPtr, - CONST TkTextIndex *indexPtr1, + const TkText *textPtr, + const TkTextIndex *indexPtr1, /* Index describing location of character from * which to count. */ - CONST TkTextIndex *indexPtr2) + const TkTextIndex *indexPtr2) /* Index describing location of last character * at which to stop the count. */ { |