summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-31 09:23:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-31 09:23:59 (GMT)
commit30fd8c842c97d0977b8ef7a4f4ee8528d260f6f2 (patch)
tree162ffad549156a8b60835cf468b7a52159e5aa1a /generic/tclTest.c
parent213447740b2103263aec6b22da904e038cb915e9 (diff)
parent749efa7f8436be1e60c3424b86fff5e76a01f8ec (diff)
downloadtcl-30fd8c842c97d0977b8ef7a4f4ee8528d260f6f2.zip
tcl-30fd8c842c97d0977b8ef7a4f4ee8528d260f6f2.tar.gz
tcl-30fd8c842c97d0977b8ef7a4f4ee8528d260f6f2.tar.bz2
Implement TIP #581: Master/Slave
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index fde7190..7624004 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -1515,7 +1515,7 @@ TestdelCmd(
return TCL_ERROR;
}
- slave = Tcl_GetSlave(interp, argv[1]);
+ slave = Tcl_GetChild(interp, argv[1]);
if (slave == NULL) {
return TCL_ERROR;
}
@@ -2698,7 +2698,7 @@ TestinterpdeleteCmd(
" path\"", NULL);
return TCL_ERROR;
}
- slaveToDelete = Tcl_GetSlave(interp, argv[1]);
+ slaveToDelete = Tcl_GetChild(interp, argv[1]);
if (slaveToDelete == NULL) {
return TCL_ERROR;
}
@@ -7781,7 +7781,7 @@ TestInterpResolverCmd(
return TCL_ERROR;
}
if (objc == 3) {
- interp = Tcl_GetSlave(interp, Tcl_GetString(objv[2]));
+ interp = Tcl_GetChild(interp, Tcl_GetString(objv[2]));
if (interp == NULL) {
Tcl_AppendResult(interp, "provided interpreter not found", NULL);
return TCL_ERROR;