Skip to content
Tcl Source Code Check-in [a69b4832a1]
Login

Check-in [a69b4832a1]

Overview
Comment: * generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so that the recounting logic of the List internal rep need not be repeated there. Better encapsulation of internal details. * generic/tclInt.h: New internal routine TclListObjCopy() used * generic/tclListObj.c: to efficiently do the equivalent of [lrange $list 0 end]. After some experience with this, might be a good candidate for exposure as a public interface. It's useful for callers of Tcl_ListObjGetElements() who want to control the ongoing validity of the returned objv pointer.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a69b4832a15c525c7ab2518449b3c5178a6c8df2
User & Date: dgp on 2007-02-24 18:55:42.000
Other Links: manifest | tags
Context
2007-02-26
19:10
* generic/tclCmdAH.c (Tcl_ForeachObjCmd): Removed surplus copying of the objv ... check-in: ffefff36e6 user: dgp tags: trunk
2007-02-24
18:55
* generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so that the recounting log... check-in: a69b4832a1 user: dgp tags: trunk
18:29
correct bogus change check-in: 2a6893c8ad user: dgp tags: trunk
Changes