summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-09 18:37:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-09 18:37:53 (GMT)
commitb6b8c1ac8f21b3562a5980453b0250ea68909648 (patch)
treed867d4a6845949fccf29252804a80fa691f860e9
parentbe2f268a3b50a34a3a72e58fbfdab2505aba45e5 (diff)
downloadtcl-b6b8c1ac8f21b3562a5980453b0250ea68909648.zip
tcl-b6b8c1ac8f21b3562a5980453b0250ea68909648.tar.gz
tcl-b6b8c1ac8f21b3562a5980453b0250ea68909648.tar.bz2
size_t -> Tcl_Size, for maximum compatibility with Tcl 8.6
-rw-r--r--generic/tclIO.h2
-rw-r--r--generic/tclRegexp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index bb56d57..69322e3 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -219,7 +219,7 @@ typedef struct ChannelState {
* because it happened in the background. The
* value is the chanMg, if any. #219's
* companion to 'unreportedError'. */
- size_t epoch; /* Used to test validity of stored channelname
+ Tcl_Size epoch; /* Used to test validity of stored channelname
* lookup results. */
int maxPerms; /* TIP #220: Max access privileges
* the channel was created with. */
diff --git a/generic/tclRegexp.h b/generic/tclRegexp.h
index a263dfd..7929c53 100644
--- a/generic/tclRegexp.h
+++ b/generic/tclRegexp.h
@@ -37,7 +37,7 @@ typedef struct TclRegexp {
* of subexpressions. */
rm_detail_t details; /* Detailed information on match (currently
* used only for REG_EXPECT). */
- size_t refCount; /* Count of number of references to this
+ Tcl_Size refCount; /* Count of number of references to this
* compiled regexp. */
} TclRegexp;