summaryrefslogtreecommitdiffstats
path: root/doc/CrtInterp.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/CrtInterp.3')
-rw-r--r--doc/CrtInterp.312
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/CrtInterp.3 b/doc/CrtInterp.3
index f82e225..ab44fc6 100644
--- a/doc/CrtInterp.3
+++ b/doc/CrtInterp.3
@@ -5,10 +5,8 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: CrtInterp.3,v 1.5 2000/04/14 23:01:49 hobbs Exp $
-'\"
-.so man.macros
.TH Tcl_CreateInterp 3 7.5 Tcl "Tcl Library Procedures"
+.so man.macros
.BS
.SH NAME
Tcl_CreateInterp, Tcl_DeleteInterp, Tcl_InterpDeleted \- create and delete Tcl command interpreters
@@ -38,9 +36,9 @@ procedures, such as \fBTcl_CreateCommand\fR, \fBTcl_Eval\fR, and
Clients are only allowed to access a few of the fields of
Tcl_Interp structures; see the \fBTcl_Interp\fR
and \fBTcl_CreateCommand\fR man pages for details.
-The new interpreter is initialized with no defined variables and only
-the built-in Tcl commands. To bind in additional commands, call
-\fBTcl_CreateCommand\fR.
+The new interpreter is initialized with the built-in Tcl commands
+and with the variables documented in tclvars(n). To bind in
+additional commands, call \fBTcl_CreateCommand\fR.
.PP
\fBTcl_DeleteInterp\fR marks an interpreter as deleted; the interpreter
will eventually be deleted when all calls to \fBTcl_Preserve\fR for it have
@@ -103,8 +101,6 @@ has been called. To ensure that the interpreter is properly deleted when
it is no longer needed, call \fBTcl_InterpDeleted\fR to test if some other
code already called \fBTcl_DeleteInterp\fR; if not, call
\fBTcl_DeleteInterp\fR before calling \fBTcl_Release\fR in your own code.
-Do not call \fBTcl_DeleteInterp\fR on an interpreter for which
-\fBTcl_InterpDeleted\fR returns nonzero.
.TP
Retrieving An Interpreter From A Data Structure
When an interpreter is retrieved from a data structure (e.g. the client