summaryrefslogtreecommitdiffstats
path: root/doc/AddErrInfo.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-09 20:11:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-09 20:11:35 (GMT)
commit3bd3c81555c4dcf32b173945d8adb802a8f6b361 (patch)
treeb8218d3628c1b820b55b71fa9a7694914f521e5a /doc/AddErrInfo.3
parentbd6d07883f6ee2874c3e6ba0b64d107e699a0c11 (diff)
parentd677e8a8ae7188b1aebd47c054633273808d5764 (diff)
downloadtcl-3bd3c81555c4dcf32b173945d8adb802a8f6b361.zip
tcl-3bd3c81555c4dcf32b173945d8adb802a8f6b361.tar.gz
tcl-3bd3c81555c4dcf32b173945d8adb802a8f6b361.tar.bz2
merge trunk
Diffstat (limited to 'doc/AddErrInfo.3')
-rw-r--r--doc/AddErrInfo.38
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/AddErrInfo.3 b/doc/AddErrInfo.3
index e450a3e..b9c6a63 100644
--- a/doc/AddErrInfo.3
+++ b/doc/AddErrInfo.3
@@ -107,7 +107,7 @@ with the value of \fIcode\fR. The \fB(Tcl_Obj *)\fR returned
by \fBTcl_GetReturnOptions\fR points to an unshared
\fBTcl_Obj\fR with reference count of zero. The dictionary
may be written to, either adding, removing, or overwriting
-any entries in it, without the need to check for a shared object.
+any entries in it, without the need to check for a shared value.
As with any \fBTcl_Obj\fR with reference count of zero, it is up to
the caller to arrange for its disposal with \fBTcl_DecrRefCount\fR or
to a reference to it via \fBTcl_IncrRefCount\fR (or one of the many
@@ -232,7 +232,7 @@ the need for a null byte. If the \fBTcl_AddObjErrorInfo\fR
interface is used at all, it should be with a negative \fIlength\fR value.
.PP
The procedure \fBTcl_SetObjErrorCode\fR is used to set the
-\fB\-errorcode\fR return option to the list object \fIerrorObjPtr\fR
+\fB\-errorcode\fR return option to the list value \fIerrorObjPtr\fR
built up by the caller.
\fBTcl_SetObjErrorCode\fR is typically invoked just
before returning an error. If an error is
@@ -242,7 +242,7 @@ the \fB\-errorcode\fR return option to \fBNONE\fR.
.PP
The procedure \fBTcl_SetErrorCode\fR is also used to set the
\fB\-errorcode\fR return option. However, it takes one or more strings to
-record instead of an object. Otherwise, it is similar to
+record instead of a value. Otherwise, it is similar to
\fBTcl_SetObjErrorCode\fR in behavior.
.PP
\fBTcl_SetErrorCodeVA\fR is the same as \fBTcl_SetErrorCode\fR except that
@@ -309,4 +309,4 @@ most recent error seen in an interpreter.
Tcl_DecrRefCount(3), Tcl_IncrRefCount(3), Tcl_Interp(3), Tcl_ResetResult(3),
Tcl_SetErrno(3), tclvars(n)
.SH KEYWORDS
-error, object, object result, stack, trace, variable
+error, value, value result, stack, trace, variable