summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-03 10:01:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-03 10:01:20 (GMT)
commit7e9565a93e51d737ba2891a4a21dee15ab5f60ce (patch)
tree56b8535b4c3d6b69e3a947d6465634b6697a38aa /doc
parentde9166186fd76d3d1ddeaace858c9d8be3e96b9d (diff)
downloadtcl-7e9565a93e51d737ba2891a4a21dee15ab5f60ce.zip
tcl-7e9565a93e51d737ba2891a4a21dee15ab5f60ce.tar.gz
tcl-7e9565a93e51d737ba2891a4a21dee15ab5f60ce.tar.bz2
Initialize legacyFreeProc with invalid value: This will result in
a crash immediately, when an extention tries to call it, in stead of crashing some time later.... Remove some more legacy regarding accessing interp->result
Diffstat (limited to 'doc')
-rw-r--r--doc/Interp.313
-rw-r--r--doc/SetResult.314
2 files changed, 4 insertions, 23 deletions
diff --git a/doc/Interp.3 b/doc/Interp.3
index d908057..d5006f9 100644
--- a/doc/Interp.3
+++ b/doc/Interp.3
@@ -33,19 +33,6 @@ the pointer as described below is no longer supported. The supported
public routines \fBTcl_SetResult\fR, \fBTcl_GetResult\fR,
\fBTcl_SetErrorLine\fR, \fBTcl_GetErrorLine\fR must be used instead.
.PP
-For legacy programs and extensions no longer being maintained, compiles
-against the Tcl 8.6 header files are only possible with the compiler
-directives
-.CS
-#define USE_INTERP_RESULT
-.CE
-and/or
-.CS
-#define USE_INTERP_ERRORLINE
-.CE
-depending on which fields of the \fBTcl_Interp\fR struct are accessed.
-These directives may be embedded in code or supplied via compiler options.
-.PP
The \fIresult\fR and \fIfreeProc\fR fields are used to return
results or error messages from commands.
This information is returned by command procedures back to \fBTcl_Eval\fR,
diff --git a/doc/SetResult.3 b/doc/SetResult.3
index bbeedf1..c863c5a 100644
--- a/doc/SetResult.3
+++ b/doc/SetResult.3
@@ -199,17 +199,11 @@ change \fIinterp->result\fR or clear error state.
is about to replace one result value with another.
.SS "DIRECT ACCESS TO INTERP->RESULT"
.PP
-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
-be updated to use supported routines \fBTcl_GetObjResult\fR,
+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, and 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