summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2006-10-01 13:33:22 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2006-10-01 13:33:22 (GMT)
commitc35351e5d727d9f5c2c18c14f13d6ddaaeb40d89 (patch)
tree1c23168ee057673fc0c81755969609cad76055ad /doc
parent1676722753b69ec304ed95a1d75b24501b5445a4 (diff)
downloadtcl-c35351e5d727d9f5c2c18c14f13d6ddaaeb40d89.zip
tcl-c35351e5d727d9f5c2c18c14f13d6ddaaeb40d89.tar.gz
tcl-c35351e5d727d9f5c2c18c14f13d6ddaaeb40d89.tar.bz2
* doc/Eval.3 (TclEvalObjv): added note on refCount management for
the elements of objv, [Bug #730244].
Diffstat (limited to 'doc')
-rw-r--r--doc/Eval.35
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/Eval.3 b/doc/Eval.3
index d626964..e6c3154 100644
--- a/doc/Eval.3
+++ b/doc/Eval.3
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: Eval.3,v 1.22 2005/09/13 21:23:51 dgp Exp $
+'\" RCS: @(#) $Id: Eval.3,v 1.23 2006/10/01 13:33:22 msofer Exp $
'\"
.so man.macros
.TH Tcl_Eval 3 8.1 Tcl "Tcl Library Procedures"
@@ -110,6 +110,9 @@ script. The \fIobjc\fR and \fIobjv\fR arguments contain the values
of the words for the Tcl command, one word in each object in
\fIobjv\fR. \fBTcl_EvalObjv\fR evaluates the command and returns
a completion code and result just like \fBTcl_EvalObjEx\fR.
+The caller of \fBTcl_EvalObjv\fR has to manage the reference count of the
+elements of \fIobjv\fR, insuring that the objects are valid until
+\fBTcl_EvalObjv\fR returns.
.PP
\fBTcl_Eval\fR is similar to \fBTcl_EvalObjEx\fR except that the script to
be executed is supplied as a string instead of an object and no compilation