summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-13 09:45:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-13 09:45:57 (GMT)
commit9cc68bccbf2916d0295cdfcb5db818c22c0da154 (patch)
treef139c8175f4a5b8428a0ae29570be55f28d47480 /generic/tclIORTrans.c
parent26619872a685f373c6fa06066eb03c5da5951bfa (diff)
downloadtcl-9cc68bccbf2916d0295cdfcb5db818c22c0da154.zip
tcl-9cc68bccbf2916d0295cdfcb5db818c22c0da154.tar.gz
tcl-9cc68bccbf2916d0295cdfcb5db818c22c0da154.tar.bz2
Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index 75e2f96..42c62a4 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -607,7 +607,7 @@ TclChanPushObjCmd(
* through the mask. Compare open mode against optional r/w.
*/
- if (TclListObjGetElementsM(NULL, resObj, &listc, &listv) != TCL_OK) {
+ if (TclListObjGetElements(NULL, resObj, &listc, &listv) != TCL_OK) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"chan handler \"%s initialize\" returned non-list: %s",
TclGetString(cmdObj), TclGetString(resObj)));
@@ -843,7 +843,7 @@ UnmarshallErrorResult(
* information; if we panic here, something has gone badly wrong already.
*/
- if (TclListObjGetElementsM(interp, msgObj, &lc, &lv) != TCL_OK) {
+ if (TclListObjGetElements(interp, msgObj, &lc, &lv) != TCL_OK) {
Tcl_Panic("TclChanCaughtErrorBypass: Bad syntax of caught result");
}
if (interp == NULL) {
@@ -1796,7 +1796,7 @@ NewReflectedTransform(
/* ASSERT: cmdpfxObj is a Tcl List */
- TclListObjGetElementsM(interp, cmdpfxObj, &listc, &listv);
+ TclListObjGetElements(interp, cmdpfxObj, &listc, &listv);
/*
* See [==] as well.