summaryrefslogtreecommitdiffstats
path: root/generic/tclIndexObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-10 08:42:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-10 08:42:43 (GMT)
commitda5c2b08af1531f171e79ee0d09a5288eabbec46 (patch)
tree38775495b0b57457df9be9a6a02b804955ba7da2 /generic/tclIndexObj.c
parent58aa27c456e8787c6b178a0c68265201b6803c74 (diff)
downloadtcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.zip
tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.gz
tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.bz2
Same with TclListObjGetElements
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r--generic/tclIndexObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c
index 1099fc2..bce8147 100644
--- a/generic/tclIndexObj.c
+++ b/generic/tclIndexObj.c
@@ -122,7 +122,7 @@ GetIndexFromObjList(
* of the code there. This is a bit ineffiecient but simpler.
*/
- result = Tcl_ListObjGetElements(interp, tableObjPtr, &objc, &objv);
+ result = TclListObjGetElements(interp, tableObjPtr, &objc, &objv);
if (result != TCL_OK) {
return result;
}
@@ -613,7 +613,7 @@ PrefixAllObjCmd(
return TCL_ERROR;
}
- result = Tcl_ListObjGetElements(interp, objv[1], &tableObjc, &tableObjv);
+ result = TclListObjGetElements(interp, objv[1], &tableObjc, &tableObjv);
if (result != TCL_OK) {
return result;
}
@@ -671,7 +671,7 @@ PrefixLongestObjCmd(
return TCL_ERROR;
}
- result = Tcl_ListObjGetElements(interp, objv[1], &tableObjc, &tableObjv);
+ result = TclListObjGetElements(interp, objv[1], &tableObjc, &tableObjv);
if (result != TCL_OK) {
return result;
}