summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.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/tclEncoding.c
parent58aa27c456e8787c6b178a0c68265201b6803c74 (diff)
downloadtcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.zip
tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.gz
tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.bz2
Same with TclListObjGetElements
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r--generic/tclEncoding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index 64cf48d..0faa614 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -480,7 +480,7 @@ FillEncodingFileMap(void)
Tcl_FSMatchInDirectory(NULL, matchFileList, directory, "*.enc",
&readableFiles);
- Tcl_ListObjGetElements(NULL, matchFileList, &numFiles, &filev);
+ TclListObjGetElements(NULL, matchFileList, &numFiles, &filev);
for (j=0; j<numFiles; j++) {
Tcl_Obj *encodingName, *fileObj;
@@ -1467,7 +1467,7 @@ OpenEncodingFileChannel(
Tcl_Channel chan = NULL;
size_t i, numDirs;
- Tcl_ListObjGetElements(NULL, searchPath, &numDirs, &dir);
+ TclListObjGetElements(NULL, searchPath, &numDirs, &dir);
Tcl_IncrRefCount(nameObj);
Tcl_AppendToObj(fileNameObj, ".enc", -1);
Tcl_IncrRefCount(fileNameObj);