diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-10 08:42:43 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-10 08:42:43 (GMT) |
commit | da5c2b08af1531f171e79ee0d09a5288eabbec46 (patch) | |
tree | 38775495b0b57457df9be9a6a02b804955ba7da2 /generic/tclBinary.c | |
parent | 58aa27c456e8787c6b178a0c68265201b6803c74 (diff) | |
download | tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.zip tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.gz tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.bz2 |
Same with TclListObjGetElements
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index ae454c4..8eea58c 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -1013,7 +1013,7 @@ BinaryFormatCmd( * The macro evals its args more than once: avoid arg++ */ - if (Tcl_ListObjGetElements(interp, objv[arg], &listc, + if (TclListObjGetElements(interp, objv[arg], &listc, &listv) != TCL_OK) { return TCL_ERROR; } @@ -1297,7 +1297,7 @@ BinaryFormatCmd( listc = 1; count = 1; } else { - Tcl_ListObjGetElements(interp, objv[arg], &listc, &listv); + TclListObjGetElements(interp, objv[arg], &listc, &listv); if (count == BINARY_ALL) { count = listc; } |