11#define DictKey DictListKey
13#define DictNode DictListNode
15#define dictNewDict(frame, leq) __gl_dictListNewDict(frame, leq)
16#define dictDeleteDict(dict) __gl_dictListDeleteDict(dict)
18#define dictSearch(dict, key) __gl_dictListSearch(dict, key)
19#define dictInsert(dict, key) __gl_dictListInsert(dict, key)
20#define dictInsertBefore(dict, node, key) __gl_dictListInsertBefore(dict, node, key)
21#define dictDelete(dict, node) __gl_dictListDelete(dict, node)
23#define dictKey(n) __gl_dictListKey(n)
24#define dictSucc(n) __gl_dictListSucc(n)
25#define dictPred(n) __gl_dictListPred(n)
26#define dictMin(d) __gl_dictListMin(d)
27#define dictMax(d) __gl_dictListMax(d)
30typedef struct Dict Dict;
31typedef struct DictNode DictNode;
33Dict *dictNewDict(
void *frame,
int (*leq)(
void *frame, DictKey key1, DictKey key2));
35void dictDeleteDict(Dict *dict);
41DictNode *dictSearch(Dict *dict, DictKey key);
42DictNode *dictInsertBefore(Dict *dict, DictNode *node, DictKey key);
43void dictDelete(Dict *dict, DictNode *node);
45#define __gl_dictListKey(n) ((n)->key)
46#define __gl_dictListSucc(n) ((n)->next)
47#define __gl_dictListPred(n) ((n)->prev)
48#define __gl_dictListMin(d) ((d)->head.next)
49#define __gl_dictListMax(d) ((d)->head.prev)
50#define __gl_dictListInsert(d, k) (dictInsertBefore((d), &(d)->head, (k)))
65 int (*leq)(
void *frame, DictKey key1, DictKey key2);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.