summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-10 08:55:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-11-10 08:55:04 (GMT)
commitaf67150caeea40a704056ad8aaa8e793d5fce3ac (patch)
tree422dce87933906db3450bb91cd29c5036f7ca565 /generic/tclNamesp.c
parentbf71b7786087d4fcf84dbfcd54a9446586f7c52f (diff)
downloadtcl-af67150caeea40a704056ad8aaa8e793d5fce3ac.zip
tcl-af67150caeea40a704056ad8aaa8e793d5fce3ac.tar.gz
tcl-af67150caeea40a704056ad8aaa8e793d5fce3ac.tar.bz2
Recommend Tcl_CreateObjCommand over Tcl_CreateCommand
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index 24d9646..7a32fd9 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -2156,7 +2156,7 @@ DeleteImportedCmd(
* If "flags" contains TCL_CREATE_NS_IF_UNKNOWN, all namespace components
* of the qualified name that cannot be found are automatically created
* within their specified parent. This makes sure that functions like
- * Tcl_CreateCommand always succeed. There is no alternate search path,
+ * Tcl_CreateObjCommand always succeed. There is no alternate search path,
* so *altNsPtrPtr is set NULL.
*
* If "flags" contains TCL_FIND_ONLY_NS, the qualified name is treated as
@@ -2353,7 +2353,7 @@ TclGetNamespaceForQualName(
* Look up the namespace qualifier nsName in the current namespace
* context. If it isn't found but TCL_CREATE_NS_IF_UNKNOWN is set,
* create that qualifying namespace. This is needed for functions like
- * Tcl_CreateCommand that cannot fail.
+ * Tcl_CreateObjCommand that cannot fail.
*/
if (nsPtr != NULL) {