summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclPathObj.c')
-rw-r--r--generic/tclPathObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c
index 1f26ddf..cb4d0ce 100644
--- a/generic/tclPathObj.c
+++ b/generic/tclPathObj.c
@@ -812,12 +812,12 @@ Tcl_FSJoinPath(
int objc;
Tcl_Obj **objv;
- if (Tcl_ListObjLength(NULL, listObj, &objc) != TCL_OK) {
+ if (TclListObjLength(NULL, listObj, &objc) != TCL_OK) {
return NULL;
}
elements = ((elements >= 0) && (elements <= objc)) ? elements : objc;
- Tcl_ListObjGetElements(NULL, listObj, &objc, &objv);
+ TclListObjGetElements(NULL, listObj, &objc, &objv);
res = TclJoinPath(elements, objv, 0);
return res;
}
@@ -2313,7 +2313,7 @@ SetFsPathFromAny(
Tcl_Obj **objv;
Tcl_Obj *parts = TclpNativeSplitPath(pathPtr, NULL);
- Tcl_ListObjGetElements(NULL, parts, &objc, &objv);
+ TclListObjGetElements(NULL, parts, &objc, &objv);
/*
* Skip '~'. It's replaced by its expansion.