summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclListObj.c')
-rw-r--r--generic/tclListObj.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 0d5aad5..e104136 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -435,7 +435,7 @@ TclListObjRange(
size_t i, newLen;
List *listRepPtr;
- TclListObjGetElements(NULL, listPtr, &listLen, &elemPtrs);
+ TclListObjGetElementsM(NULL, listPtr, &listLen, &elemPtrs);
if (fromIdx == TCL_INDEX_NONE) {
fromIdx = 0;
@@ -604,7 +604,7 @@ Tcl_ListObjAppendList(
* Pull the elements to append from elemListPtr.
*/
- if (TCL_OK != TclListObjGetElements(interp, elemListPtr, &objc, &objv)) {
+ if (TCL_OK != TclListObjGetElementsM(interp, elemListPtr, &objc, &objv)) {
return TCL_ERROR;
}
@@ -1341,7 +1341,7 @@ TclLindexFlat(
break;
}
- TclListObjGetElements(NULL, sublistCopy, &listLen, &elemPtrs);
+ TclListObjGetElementsM(NULL, sublistCopy, &listLen, &elemPtrs);
if (TclGetIntForIndexM(interp, indexArray[i], /*endValue*/ listLen-1,
&index) == TCL_OK) {
@@ -1434,7 +1434,7 @@ TclLsetList(
return TclLsetFlat(interp, listPtr, 1, &indexArgPtr, valuePtr);
}
- TclListObjGetElements(NULL, indexArgPtr, &indexCount, &indices);
+ TclListObjGetElementsM(NULL, indexArgPtr, &indexCount, &indices);
/*
* Let TclLsetFlat handle the actual lset'ting.
@@ -1555,7 +1555,7 @@ TclLsetFlat(
* Check for the possible error conditions...
*/
- if (TclListObjGetElements(interp, subListPtr, &elemCount, &elemPtrs)
+ if (TclListObjGetElementsM(interp, subListPtr, &elemCount, &elemPtrs)
!= TCL_OK) {
/* ...the sublist we're indexing into isn't a list at all. */
result = TCL_ERROR;
@@ -1702,7 +1702,7 @@ TclLsetFlat(
*/
len = -1;
- TclListObjLength(NULL, subListPtr, &len);
+ TclListObjLengthM(NULL, subListPtr, &len);
if (valuePtr == NULL) {
Tcl_ListObjReplace(NULL, subListPtr, index, 1, 0, NULL);
} else if (index == (size_t)len) {