diff options
author | dgp <dgp@users.sourceforge.net> | 2020-01-06 20:12:32 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-01-06 20:12:32 (GMT) |
commit | c187695b61274eb7742b87d19a2794bd25f1a22d (patch) | |
tree | 198c18024e754225cf8227f957b56a48a031fdaf /doc/SetResult.3 | |
parent | edcdd9afe15d3f68c2b185a324dce8ee369b7b07 (diff) | |
download | tcl-c187695b61274eb7742b87d19a2794bd25f1a22d.zip tcl-c187695b61274eb7742b87d19a2794bd25f1a22d.tar.gz tcl-c187695b61274eb7742b87d19a2794bd25f1a22d.tar.bz2 |
Bring docs up to date with TIP 330 and TIP 336 changes already in Tcl 8.7
Diffstat (limited to 'doc/SetResult.3')
-rw-r--r-- | doc/SetResult.3 | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/SetResult.3 b/doc/SetResult.3 index c5ed78a..a640956 100644 --- a/doc/SetResult.3 +++ b/doc/SetResult.3 @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -.TH Tcl_SetResult 3 8.6 Tcl "Tcl Library Procedures" +.TH Tcl_SetResult 3 8.7 Tcl "Tcl Library Procedures" .so man.macros .BS .SH NAME @@ -195,14 +195,9 @@ is about to replace one result value with another. It used to be legal for programs to directly read and write \fIinterp->result\fR to manipulate the interpreter result. The Tcl headers no longer -permit this access by default, and C code still doing this must +permit this access. C code still doing this must be updated to use supported routines \fBTcl_GetObjResult\fR, \fBTcl_GetStringResult\fR, \fBTcl_SetObjResult\fR, and \fBTcl_SetResult\fR. -As a migration aid, access can be restored with the compiler directive -.CS -#define USE_INTERP_RESULT -.CE -but this is meant only to offer life support to otherwise dead code. .SH "THE TCL_FREEPROC ARGUMENT TO TCL_SETRESULT" .PP \fBTcl_SetResult\fR's \fIfreeProc\fR argument specifies how |