diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-19 13:40:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-19 13:40:54 (GMT) |
commit | 6a040914a92f3123df4f68d43fa45c58558afde4 (patch) | |
tree | 7d478ececccea899bf7cb2c5d020fa462494ee5b /generic/tclCmdAH.c | |
parent | 5822159301f9c80ebea99d9d92a0dc4bd908daaf (diff) | |
parent | af999a3a2c4770f8654059f5c5b50d766cc88c7f (diff) | |
download | tcl-6a040914a92f3123df4f68d43fa45c58558afde4.zip tcl-6a040914a92f3123df4f68d43fa45c58558afde4.tar.gz tcl-6a040914a92f3123df4f68d43fa45c58558afde4.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r-- | generic/tclCmdAH.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c index 401b14a..e4303e6 100644 --- a/generic/tclCmdAH.c +++ b/generic/tclCmdAH.c @@ -188,7 +188,7 @@ Tcl_CaseObjCmd( if (caseObjc == 1) { Tcl_Obj **newObjv; - TclListObjGetElements(interp, caseObjv[0], &caseObjc, &newObjv); + TclListObjGetElementsM(interp, caseObjv[0], &caseObjc, &newObjv); caseObjv = newObjv; } @@ -2742,7 +2742,7 @@ EachloopCmd( result = TCL_ERROR; goto done; } - TclListObjGetElements(NULL, statePtr->vCopyList[i], + TclListObjGetElementsM(NULL, statePtr->vCopyList[i], &statePtr->varcList[i], &statePtr->varvList[i]); if (statePtr->varcList[i] < 1) { Tcl_SetObjResult(interp, Tcl_ObjPrintf( @@ -2760,7 +2760,7 @@ EachloopCmd( result = TCL_ERROR; goto done; } - TclListObjGetElements(NULL, statePtr->aCopyList[i], + TclListObjGetElementsM(NULL, statePtr->aCopyList[i], &statePtr->argcList[i], &statePtr->argvList[i]); j = statePtr->argcList[i] / statePtr->varcList[i]; |