summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-08 10:34:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-08 10:34:55 (GMT)
commit8234d8449ea1e7fc611e1cb8dc3f96f75ff21a1c (patch)
treeb4d529834d9a0918a35da3c1b8b599102b22193a /generic/tclMain.c
parentd77e68b2f827f6a60267a519aa23a851feabaab7 (diff)
parent7332635af1609ad38fa7021022dd79996b75144c (diff)
downloadtcl-8234d8449ea1e7fc611e1cb8dc3f96f75ff21a1c.zip
tcl-8234d8449ea1e7fc611e1cb8dc3f96f75ff21a1c.tar.gz
tcl-8234d8449ea1e7fc611e1cb8dc3f96f75ff21a1c.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r--generic/tclMain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 3a09b0c..876bf61 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.c
@@ -536,7 +536,7 @@ Tcl_MainEx(
* error messages troubles deeper in, so lop it back off.
*/
- Tcl_GetStringFromObj(is.commandPtr, &length);
+ TclGetStringFromObj(is.commandPtr, &length);
Tcl_SetObjLength(is.commandPtr, --length);
code = Tcl_RecordAndEvalObj(interp, is.commandPtr,
TCL_EVAL_GLOBAL);
@@ -553,7 +553,7 @@ Tcl_MainEx(
} else if (is.tty) {
resultPtr = Tcl_GetObjResult(interp);
Tcl_IncrRefCount(resultPtr);
- Tcl_GetStringFromObj(resultPtr, &length);
+ TclGetStringFromObj(resultPtr, &length);
chan = Tcl_GetStdChannel(TCL_STDOUT);
if ((length > 0) && chan) {
Tcl_WriteObj(chan, resultPtr);
@@ -797,7 +797,7 @@ StdinProc(
goto prompt;
}
isPtr->prompt = PROMPT_START;
- Tcl_GetStringFromObj(commandPtr, &length);
+ TclGetStringFromObj(commandPtr, &length);
Tcl_SetObjLength(commandPtr, --length);
/*
@@ -828,7 +828,7 @@ StdinProc(
chan = Tcl_GetStdChannel(TCL_STDOUT);
Tcl_IncrRefCount(resultPtr);
- Tcl_GetStringFromObj(resultPtr, &length);
+ TclGetStringFromObj(resultPtr, &length);
if ((length > 0) && (chan != NULL)) {
Tcl_WriteObj(chan, resultPtr);
Tcl_WriteChars(chan, "\n", 1);