summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-10 12:09:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-05-10 12:09:07 (GMT)
commit284a5014870e629b05bfa74cc12a432b8d45fa1d (patch)
tree22e282cda29a09641d7f197f5fbeda4002eab54a
parent73dbbaaa23c0ab5d0233211c9f2e34782991a87d (diff)
downloadtcl-284a5014870e629b05bfa74cc12a432b8d45fa1d.zip
tcl-284a5014870e629b05bfa74cc12a432b8d45fa1d.tar.gz
tcl-284a5014870e629b05bfa74cc12a432b8d45fa1d.tar.bz2
Backport: docs: function does not "return an error", it returns TCL_ERROR, indicating an error occured
-rw-r--r--doc/Namespace.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Namespace.3 b/doc/Namespace.3
index a037442..a971ddb 100644
--- a/doc/Namespace.3
+++ b/doc/Namespace.3
@@ -46,10 +46,10 @@ Tcl_Command
\fBTcl_FindCommand\fR(\fIinterp, name, contextNsPtr, flags\fR)
.sp
Tcl_Obj *
-\fBTcl_GetNamespaceUnknownHandler(\fIinterp, nsPtr\fR)
+\fBTcl_GetNamespaceUnknownHandler\fR(\fIinterp, nsPtr\fR)
.sp
int
-\fBTcl_SetNamespaceUnknownHandler(\fIinterp, nsPtr, handlerPtr\fR)
+\fBTcl_SetNamespaceUnknownHandler\fR(\fIinterp, nsPtr, handlerPtr\fR)
.SH ARGUMENTS
.AS Tcl_NamespaceDeleteProc allowOverwrite in/out
.AP Tcl_Interp *interp in/out
@@ -133,7 +133,7 @@ is true.
.PP
\fBTcl_Import\fR imports commands matching a pattern into a
namespace. Note that the pattern must include the name of the
-namespace to import from. This function returns an error if
+namespace to import from. This function returns TCL_ERROR if
an attempt to import a command over an existing command is made,
unless the \fIallowOverwrite\fR flag has been set.
.PP