.
D 2014-10-10T21:39:48.074
L list\sObject\sType
P bac4e3e259331d678dfa38c46abd15c715e0478b
U dgp
W 1536
<h1>Source Files</h1>
* [/finfo?name=generic/tclListObj.c|tclListObj.c]
<h1>Public Interface</h1>
* Tcl_NewListObj
* Tcl_DbNewListObj
* Tcl_SetListObj
* Tcl_ListObjGetElements
* Tcl_ListObjAppendList
* Tcl_ListObjAppendElement
* Tcl_ListObjIndex
* Tcl_ListObjLength
* Tcl_ListObjReplace
<h1>Private Interface</h1>
* TclListObjCopy
* TclLindexList
* TclLindexFlat
* TclLsetList
* TclLsetFlat
* TclListObjSetElement
* TclListObjGetElements
* TclListObjLength
* tclListType
<h1>Directly Depends On Public Interface Of</h1>
* [Panic]
* [Tcl_Obj System]
* [Parsing and Evaluation]
* [string Object Type]
* [Allocation]
* [dict Object Type]
<h1>Directly Depends On Private Interface of</h1>
* [Tcl_Obj System]
* [end-offset Object Type]
* [List Parsing]
* [string Object Type]
<h1>Discussion</h1>
Everything to do with the number or position of elements in a list is done
with ints, and the INT_MAX limitation that imposes.
<b>Tcl_ListObjGetElements</b> returns pointer to the intrep of the
list value, so there are somewhat tricky requirements regarding the
period of validity.
<b>TclListObjCopy</b> is one important tool for dealing with those
requirements -- a way to force a List intrep to stay around longer than
it otherwise might, without more copying than needed. Either the
importance of such gymnastics needs to fade or this routine or other
suitable tools need to be made public.
Z 6f8493d6aabdc063a45ce370ef63d5ea