summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-31 09:48:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-31 09:48:57 (GMT)
commitb0a9f6c55b529b1b7ad08fabce66218512634149 (patch)
tree627e70f90b990839b623c96c38d82b391ca9608a /doc
parent9a322ef01682c544f3a875c9c5f961b4428a9aee (diff)
downloadtcl-b0a9f6c55b529b1b7ad08fabce66218512634149.zip
tcl-b0a9f6c55b529b1b7ad08fabce66218512634149.tar.gz
tcl-b0a9f6c55b529b1b7ad08fabce66218512634149.tar.bz2
Simplify implementation of Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult by no longer assuming that Tcl_SavedResult is a struct. Backported from "novem" branch.
Diffstat (limited to 'doc')
-rw-r--r--doc/SaveResult.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/SaveResult.3 b/doc/SaveResult.3
index b2270a2..6dd6cb6 100644
--- a/doc/SaveResult.3
+++ b/doc/SaveResult.3
@@ -54,9 +54,9 @@ is called, Tcl will take care of memory management.
.PP
The second triplet stores the snapshot of only the interpreter
result (not its complete state) in memory allocated by the caller.
-These routines are passed a pointer to a \fBTcl_SavedResult\fR structure
+These routines are passed a pointer to \fBTcl_SavedResult\fR
that is used to store enough information to restore the interpreter result.
-This structure can be allocated on the stack of the calling
+\fBTcl_SavedResult\fR can be allocated on the stack of the calling
procedure. These routines do not save the state of any error
information in the interpreter (e.g. the \fB\-errorcode\fR or
\fB\-errorinfo\fR return options, when an error is in progress).