diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2006-10-01 13:33:22 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2006-10-01 13:33:22 (GMT) |
commit | c35351e5d727d9f5c2c18c14f13d6ddaaeb40d89 (patch) | |
tree | 1c23168ee057673fc0c81755969609cad76055ad /doc/Eval.3 | |
parent | 1676722753b69ec304ed95a1d75b24501b5445a4 (diff) | |
download | tcl-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/Eval.3')
-rw-r--r-- | doc/Eval.3 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |