From c35351e5d727d9f5c2c18c14f13d6ddaaeb40d89 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Sun, 1 Oct 2006 13:33:22 +0000 Subject: * doc/Eval.3 (TclEvalObjv): added note on refCount management for the elements of objv, [Bug #730244]. --- ChangeLog | 5 +++++ doc/Eval.3 | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0225125..b343f77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-01 Miguel Sofer + + * doc/Eval.3 (TclEvalObjv): added note on refCount management for + the elements of objv, [Bug #730244]. + 2006-10-01 Pat Thoyts * win/tclWinFile.c (TclpUtime): bug #1420432 - file mtime fails 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 -- cgit v0.12