summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.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/tclStringObj.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/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index 33f84bd..2fbf854 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -716,7 +716,7 @@ TclCheckEmptyString(
}
if (TclListObjIsCanonical(objPtr)) {
- TclListObjLength(NULL, objPtr, &length);
+ TclListObjLengthM(NULL, objPtr, &length);
return length == 0;
}
@@ -3190,7 +3190,7 @@ AppendPrintfToObjVA(
}
} while (seekingConversion);
}
- TclListObjGetElements(NULL, list, &objc, &objv);
+ TclListObjGetElementsM(NULL, list, &objc, &objv);
code = Tcl_AppendFormatToObj(NULL, objPtr, format, objc, objv);
if (code != TCL_OK) {
Tcl_AppendPrintfToObj(objPtr,