Go to the source code of this file.
|
#define | DictKey DictListKey |
|
#define | Dict DictList |
|
#define | DictNode DictListNode |
|
#define | dictNewDict(frame, leq) __gl_dictListNewDict(frame,leq) |
|
#define | dictDeleteDict(dict) __gl_dictListDeleteDict(dict) |
|
#define | dictSearch(dict, key) __gl_dictListSearch(dict,key) |
|
#define | dictInsert(dict, key) __gl_dictListInsert(dict,key) |
|
#define | dictInsertBefore(dict, node, key) __gl_dictListInsertBefore(dict,node,key) |
|
#define | dictDelete(dict, node) __gl_dictListDelete(dict,node) |
|
#define | dictKey(n) __gl_dictListKey(n) |
|
#define | dictSucc(n) __gl_dictListSucc(n) |
|
#define | dictPred(n) __gl_dictListPred(n) |
|
#define | dictMin(d) __gl_dictListMin(d) |
|
#define | dictMax(d) __gl_dictListMax(d) |
|
#define | __gl_dictListKey(n) ((n)->key) |
|
#define | __gl_dictListSucc(n) ((n)->next) |
|
#define | __gl_dictListPred(n) ((n)->prev) |
|
#define | __gl_dictListMin(d) ((d)->head.next) |
|
#define | __gl_dictListMax(d) ((d)->head.prev) |
|
#define | __gl_dictListInsert(d, k) (dictInsertBefore((d),&(d)->head,(k))) |
|
◆ __gl_dictListInsert
◆ __gl_dictListKey
◆ __gl_dictListMax
#define __gl_dictListMax |
( |
|
d | ) |
((d)->head.prev) |
◆ __gl_dictListMin
◆ __gl_dictListPred
#define __gl_dictListPred |
( |
|
n | ) |
((n)->prev) |
◆ __gl_dictListSucc
◆ Dict
◆ dictDelete
◆ dictDeleteDict
#define dictDeleteDict |
( |
|
dict | ) |
__gl_dictListDeleteDict(dict) |
◆ dictInsert
◆ dictInsertBefore
◆ DictKey
◆ dictKey
◆ dictMax
◆ dictMin
◆ dictNewDict
#define dictNewDict |
( |
|
frame, |
|
|
|
leq |
|
) |
| __gl_dictListNewDict(frame,leq) |
◆ DictNode
◆ dictPred
◆ dictSearch
#define dictSearch |
( |
|
dict, |
|
|
|
key |
|
) |
| __gl_dictListSearch(dict,key) |
◆ dictSucc
◆ Dict
◆ DictKey
◆ DictNode
◆ dictDelete()
◆ dictDeleteDict()
Definition at line 61 of file dict.c.
62{
64
68 }
70}
static unsigned __int64 next
◆ dictInsertBefore()
Definition at line 73 of file dict.c.
74{
76
77 do {
80
83
89
90 return newNode;
91}
int(* leq)(void *frame, DictKey key1, DictKey key2)
◆ dictNewDict()
Definition at line 40 of file dict.c.
42{
45
47
49
53
56
57 return dict;
58}
struct outqueuenode * head
◆ dictSearch()
Definition at line 102 of file dict.c.
103{
105
106 do {
109
111}