summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-01-13 16:49:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-01-13 16:49:42 (GMT)
commitfc63e758a4d1537762b5a86ee42f762547a4931a (patch)
tree882a2b5db3e3a444e4fb1151cb731498eb35a390 /doc
parent54beae13a727180ab6d5931a89d935f1412c57f9 (diff)
downloadtcl-fc63e758a4d1537762b5a86ee42f762547a4931a.zip
tcl-fc63e758a4d1537762b5a86ee42f762547a4931a.tar.gz
tcl-fc63e758a4d1537762b5a86ee42f762547a4931a.tar.bz2
Implement TIP 559
Diffstat (limited to 'doc')
-rw-r--r--doc/SetResult.312
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/SetResult.3 b/doc/SetResult.3
index 07e2344..1355d6b 100644
--- a/doc/SetResult.3
+++ b/doc/SetResult.3
@@ -9,7 +9,7 @@
.so man.macros
.BS
.SH NAME
-Tcl_SetObjResult, Tcl_GetObjResult, Tcl_SetResult, Tcl_GetStringResult, Tcl_AppendResult, Tcl_AppendElement, Tcl_ResetResult, Tcl_TransferResult, Tcl_FreeResult \- manipulate Tcl result
+Tcl_SetObjResult, Tcl_GetObjResult, Tcl_SetResult, Tcl_GetStringResult, Tcl_AppendResult, Tcl_AppendElement, Tcl_ResetResult, Tcl_TransferResult \- manipulate Tcl result
.SH SYNOPSIS
.nf
\fB#include <tcl.h>\fR
@@ -31,8 +31,6 @@ const char *
\fBTcl_TransferResult\fR(\fIsourceInterp, code, targetInterp\fR)
.sp
\fBTcl_AppendElement\fR(\fIinterp, element\fR)
-.sp
-\fBTcl_FreeResult\fR(\fIinterp\fR)
.SH ARGUMENTS
.AS Tcl_FreeProc sourceInterp out
.AP Tcl_Interp *interp out
@@ -177,14 +175,6 @@ single character
or ends in the characters
.QW " {" )
then no space is added.
-.PP
-\fBTcl_FreeResult\fR performs part of the work
-of \fBTcl_ResetResult\fR.
-It frees up the memory associated with \fIinterp\fR's result.
-It also sets \fIinterp->freeProc\fR to zero, but does not
-change \fIinterp->result\fR or clear error state.
-\fBTcl_FreeResult\fR is most commonly used when a procedure
-is about to replace one result value with another.
.SH "THE TCL_FREEPROC ARGUMENT TO TCL_SETRESULT"
.PP
\fBTcl_SetResult\fR's \fIfreeProc\fR argument specifies how