Skip to content
Tcl Source Code Changes To dict Object Type
Login

Changes To dict Object Type

Initial version of "dict Object Type"





































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<h1>Source Files</h1>
  *  [/finfo?name=generic/tclDictObj.c|tclDictObj.c]

<h1>Public Interface</h1>
  *  Tcl_DictObjPut
  *  Tcl_DictObjGet
  *  Tcl_DictObjRemove
  *  Tcl_DictObjSize
  *  Tcl_DictObjFirst
  *  Tcl_DictObjNext
  *  Tcl_DictObjDone
  *  Tcl_DictObjPutKeyList
  *  Tcl_DictObjRemoveKeyList
  *  Tcl_NewDictObj
  *  Tcl_DbNewDictObj

<h1>Private Interface</h1>
  *  TclTraceDictPath
  *  TclDictWithInit
  *  TclDictWithFinish
  *  TclInitDictCmd

<h1>Directly Depends On Public Interface Of</h1>
  *  

<h1>Directly Depends On Private Interface of</h1>
  *  

<h1>Discussion</h1>

<b>Tcl_DictObjSize</b> returns an int, imposing the same
 INT_MAX size limitations as in other parts of Tcl.

The <b>*KeyList</b> functions use an int argument to specify
the length of the key list.  It's less clear whether this limit is
as important.  (Should dicts be deep as well as wide?)