summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 09:32:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 09:32:51 (GMT)
commitaf999a3a2c4770f8654059f5c5b50d766cc88c7f (patch)
tree8fa92f3743b92c9006d32550b37bca0226730f9f /generic/tclInterp.c
parentbd2e73ff510f8fd5d9291cc8eff89544cdce2583 (diff)
downloadtcl-af999a3a2c4770f8654059f5c5b50d766cc88c7f.zip
tcl-af999a3a2c4770f8654059f5c5b50d766cc88c7f.tar.gz
tcl-af999a3a2c4770f8654059f5c5b50d766cc88c7f.tar.bz2
Rename macro's TclListObjGetElements -> TclListObjGetElementsM and TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616)
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r--generic/tclInterp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index e590775..b87bf7c 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -2315,7 +2315,7 @@ GetInterp(
Tcl_Interp *searchInterp; /* Interim storage for interp. to find. */
InterpInfo *parentInfoPtr;
- if (TclListObjGetElements(interp, pathPtr, &objc, &objv) != TCL_OK) {
+ if (TclListObjGetElementsM(interp, pathPtr, &objc, &objv) != TCL_OK) {
return NULL;
}
@@ -2371,7 +2371,7 @@ ChildBgerror(
if (objc) {
int length;
- if (TCL_ERROR == TclListObjLength(NULL, objv[0], &length)
+ if (TCL_ERROR == TclListObjLengthM(NULL, objv[0], &length)
|| (length < 1)) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"cmdPrefix must be list of length >= 1", -1));
@@ -2418,7 +2418,7 @@ ChildCreate(
int isNew, objc;
Tcl_Obj **objv;
- if (TclListObjGetElements(interp, pathPtr, &objc, &objv) != TCL_OK) {
+ if (TclListObjGetElementsM(interp, pathPtr, &objc, &objv) != TCL_OK) {
return NULL;
}
if (objc < 2) {