summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-10 08:34:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-10 08:34:43 (GMT)
commit58aa27c456e8787c6b178a0c68265201b6803c74 (patch)
tree9d395214658f1f03f3d3d32e9e2bc32c96acb033 /generic/tclCompCmds.c
parentd90d6f4856436b52106b3e558a211fc558368583 (diff)
downloadtcl-58aa27c456e8787c6b178a0c68265201b6803c74.zip
tcl-58aa27c456e8787c6b178a0c68265201b6803c74.tar.gz
tcl-58aa27c456e8787c6b178a0c68265201b6803c74.tar.bz2
Tcl_ListObjLength -> TclListObjLength
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index c7da104..0130da8 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -302,7 +302,7 @@ TclCompileArraySetCmd(
TclNewObj(literalObj);
isDataLiteral = TclWordKnownAtCompileTime(dataTokenPtr, literalObj);
isDataValid = (isDataLiteral
- && Tcl_ListObjLength(NULL, literalObj, &len) == TCL_OK);
+ && TclListObjLength(NULL, literalObj, &len) == TCL_OK);
isDataEven = (isDataValid && (len & 1) == 0);
/*
@@ -2755,7 +2755,7 @@ CompileEachloopCmd(
*/
if (!TclWordKnownAtCompileTime(tokenPtr, varListObj) ||
- TCL_OK != Tcl_ListObjLength(NULL, varListObj, &numVars) ||
+ TCL_OK != TclListObjLength(NULL, varListObj, &numVars) ||
numVars == 0) {
code = TCL_ERROR;
goto done;