summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-07 13:53:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-07 13:53:08 (GMT)
commitdb32aeed9858ddb8dd0828e2fb7ef36ac46bc5f6 (patch)
tree1aac3c2b0a1094ceb09b60b0d7d728fb613ef8e9 /generic/tclStringObj.c
parent593462fc80d3e1a4684644f3237115112131f83f (diff)
downloadtcl-db32aeed9858ddb8dd0828e2fb7ef36ac46bc5f6.zip
tcl-db32aeed9858ddb8dd0828e2fb7ef36ac46bc5f6.tar.gz
tcl-db32aeed9858ddb8dd0828e2fb7ef36ac46bc5f6.tar.bz2
Tcl_InvalidateStringRep -> TclInvalidateStringRep
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index ee434c3..a929d04 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -741,7 +741,7 @@ Tcl_SetStringObj(
* length bytes starting at "bytes".
*/
- Tcl_InvalidateStringRep(objPtr);
+ TclInvalidateStringRep(objPtr);
if (length < 0) {
length = (bytes? strlen(bytes) : 0);
}
@@ -815,7 +815,7 @@ Tcl_SetObjLength(
if (objPtr->bytes != NULL && objPtr->length != 0) {
memcpy(newBytes, objPtr->bytes, (size_t) objPtr->length);
- Tcl_InvalidateStringRep(objPtr);
+ TclInvalidateStringRep(objPtr);
}
objPtr->bytes = newBytes;
}
@@ -943,7 +943,7 @@ Tcl_AttemptSetObjLength(
}
if (objPtr->bytes != NULL && objPtr->length != 0) {
memcpy(newBytes, objPtr->bytes, (size_t) objPtr->length);
- Tcl_InvalidateStringRep(objPtr);
+ TclInvalidateStringRep(objPtr);
}
}
objPtr->bytes = newBytes;
@@ -1080,7 +1080,7 @@ SetUnicodeObj(
memcpy(stringPtr->unicode, unicode, uallocated);
stringPtr->unicode[numChars] = 0;
- Tcl_InvalidateStringRep(objPtr);
+ TclInvalidateStringRep(objPtr);
objPtr->typePtr = &tclStringType;
SET_STRING(objPtr, stringPtr);
}
@@ -1411,7 +1411,7 @@ AppendUnicodeToUnicodeRep(
stringPtr->numChars = numChars;
stringPtr->allocated = 0;
- Tcl_InvalidateStringRep(objPtr);
+ TclInvalidateStringRep(objPtr);
}
/*
@@ -2757,7 +2757,7 @@ TclStringObjReverse(
source[lastCharIdx--] = source[i];
source[i++] = tmp;
}
- Tcl_InvalidateStringRep(objPtr);
+ TclInvalidateStringRep(objPtr);
stringPtr->allocated = 0;
return objPtr;
}