summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-19 14:42:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-10-19 14:42:56 (GMT)
commit58583ac83fd364a825038d5dfcdaa7c75aca836b (patch)
tree6399c75e66f3afa69cee62d2969f7b24d9d75d1c /generic/tclIO.c
parent7fa6ef0e9c110e29240b9b90518d3bf5c2d52e07 (diff)
downloadtcl-58583ac83fd364a825038d5dfcdaa7c75aca836b.zip
tcl-58583ac83fd364a825038d5dfcdaa7c75aca836b.tar.gz
tcl-58583ac83fd364a825038d5dfcdaa7c75aca836b.tar.bz2
IntRep -> InternalRep. Internal changes only.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index f916211..43b7ce3 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -324,13 +324,13 @@ typedef struct ResolvedChanName {
int refCount; /* Share this struct among many Tcl_Obj. */
} ResolvedChanName;
-static void DupChannelIntRep(Tcl_Obj *objPtr, Tcl_Obj *copyPtr);
-static void FreeChannelIntRep(Tcl_Obj *objPtr);
+static void DupChannelInternalRep(Tcl_Obj *objPtr, Tcl_Obj *copyPtr);
+static void FreeChannelInternalRep(Tcl_Obj *objPtr);
static const Tcl_ObjType chanObjType = {
"channel", /* name for this type */
- FreeChannelIntRep, /* freeIntRepProc */
- DupChannelIntRep, /* dupIntRepProc */
+ FreeChannelInternalRep, /* freeIntRepProc */
+ DupChannelInternalRep, /* dupIntRepProc */
NULL, /* updateStringProc */
NULL /* setFromAnyProc */
};
@@ -1526,7 +1526,7 @@ TclGetChannelFromObj(
if (chan == NULL) {
if (resPtr) {
- FreeChannelIntRep(objPtr);
+ FreeChannelInternalRep(objPtr);
}
return TCL_ERROR;
}
@@ -11212,7 +11212,7 @@ Tcl_ChannelTruncateProc(
/*
*----------------------------------------------------------------------
*
- * DupChannelIntRep --
+ * DupChannelInternalRep --
*
* Initialize the internal representation of a new Tcl_Obj to a copy of
* the internal representation of an existing string object.
@@ -11228,7 +11228,7 @@ Tcl_ChannelTruncateProc(
*/
static void
-DupChannelIntRep(
+DupChannelInternalRep(
Tcl_Obj *srcPtr, /* Object with internal rep to copy. Must have
* an internal rep of type "Channel". */
Tcl_Obj *copyPtr) /* Object with internal rep to set. Must not
@@ -11244,7 +11244,7 @@ DupChannelIntRep(
/*
*----------------------------------------------------------------------
*
- * FreeChannelIntRep --
+ * FreeChannelInternalRep --
*
* Release statePtr storage.
*
@@ -11258,7 +11258,7 @@ DupChannelIntRep(
*/
static void
-FreeChannelIntRep(
+FreeChannelInternalRep(
Tcl_Obj *objPtr) /* Object with internal rep to free. */
{
ResolvedChanName *resPtr = objPtr->internalRep.twoPtrValue.ptr1;