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/tclEncoding.c | |
parent | 58aa27c456e8787c6b178a0c68265201b6803c74 (diff) | |
download | tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.zip tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.gz tcl-da5c2b08af1531f171e79ee0d09a5288eabbec46.tar.bz2 |
Same with TclListObjGetElements
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 4 |
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); |