summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-07-09 17:21:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-07-09 17:21:31 (GMT)
commit3408cb4caba6bdda86ed5bd407f26f9f9fff9948 (patch)
tree2749fdf06c69cbd0027fc83117455052086b2c39 /generic/tclUtil.c
parent3f704efe4e8c1fc7b8eff04d4a7eb80c31c7f44e (diff)
parent77e9a375ff3089711d1b2d25da3d190afc639e1e (diff)
downloadtcl-3408cb4caba6bdda86ed5bd407f26f9f9fff9948.zip
tcl-3408cb4caba6bdda86ed5bd407f26f9f9fff9948.tar.gz
tcl-3408cb4caba6bdda86ed5bd407f26f9f9fff9948.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 9c86839..57604f8 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -1967,7 +1967,7 @@ Tcl_ConcatObj(
if (TclListObjIsCanonical(objPtr)) {
continue;
}
- Tcl_GetStringFromObj(objPtr, &length);
+ TclGetStringFromObj(objPtr, &length);
if (length > 0) {
break;
}
@@ -2676,7 +2676,7 @@ TclDStringAppendObj(
Tcl_Obj *objPtr)
{
int length;
- char *bytes = Tcl_GetStringFromObj(objPtr, &length);
+ char *bytes = TclGetStringFromObj(objPtr, &length);
return Tcl_DStringAppend(dsPtr, bytes, length);
}
@@ -3912,7 +3912,7 @@ TclSetProcessGlobalValue(
} else {
Tcl_CreateExitHandler(FreeProcessGlobalValue, pgvPtr);
}
- bytes = Tcl_GetStringFromObj(newValue, &pgvPtr->numBytes);
+ bytes = TclGetStringFromObj(newValue, &pgvPtr->numBytes);
pgvPtr->value = ckalloc(pgvPtr->numBytes + 1);
memcpy(pgvPtr->value, bytes, (unsigned) pgvPtr->numBytes + 1);
if (pgvPtr->encoding) {