Classes | |
struct | DictList |
struct | DictListNode |
Macros | |
#define | __gl_dictListInsert(d, k) (dictInsertBefore((d),&(d)->head,(k))) |
#define | __gl_dictListKey(n) ((n)->key) |
#define | __gl_dictListMax(d) ((d)->head.prev) |
#define | __gl_dictListMin(d) ((d)->head.next) |
#define | __gl_dictListPred(n) ((n)->prev) |
#define | __gl_dictListSucc(n) ((n)->next) |
#define | Dict DictList |
#define | dictDelete(dict, node) __gl_dictListDelete(dict,node) |
#define | dictDeleteDict(dict) __gl_dictListDeleteDict(dict) |
#define | dictInsert(dict, key) __gl_dictListInsert(dict,key) |
#define | dictInsertBefore(dict, node, key) __gl_dictListInsertBefore(dict,node,key) |
#define | DictKey DictListKey |
#define | dictKey(n) __gl_dictListKey(n) |
#define | dictMax(d) __gl_dictListMax(d) |
#define | dictMin(d) __gl_dictListMin(d) |
#define | dictNewDict(frame, leq) __gl_dictListNewDict(frame,leq) |
#define | DictNode DictListNode |
#define | dictPred(n) __gl_dictListPred(n) |
#define | dictSearch(dict, key) __gl_dictListSearch(dict,key) |
#define | dictSucc(n) __gl_dictListSucc(n) |
Typedefs | |
typedef struct DictList | DictList |
typedef void * | DictListKey |
typedef struct DictListNode | DictListNode |
Functions | |
void | __gl_dictListDelete (DictList *dict, DictListNode *node) |
void | __gl_dictListDeleteDict (DictList *dict) |
DictListNode * | __gl_dictListInsertBefore (DictList *dict, DictListNode *node, DictListKey key) |
DictList * | __gl_dictListNewDict (void *frame, int(*leq)(void *frame, DictListKey key1, DictListKey key2)) |
DictListNode * | __gl_dictListSearch (DictList *dict, DictListKey key) |
#define __gl_dictListInsert | ( | d, | |
k | |||
) | (dictInsertBefore((d),&(d)->head,(k))) |
#define dictDelete | ( | dict, | |
node | |||
) | __gl_dictListDelete(dict,node) |
#define dictDeleteDict | ( | dict | ) | __gl_dictListDeleteDict(dict) |
#define dictInsert | ( | dict, | |
key | |||
) | __gl_dictListInsert(dict,key) |
#define dictInsertBefore | ( | dict, | |
node, | |||
key | |||
) | __gl_dictListInsertBefore(dict,node,key) |
#define DictKey DictListKey |
#define dictKey | ( | n | ) | __gl_dictListKey(n) |
#define dictMax | ( | d | ) | __gl_dictListMax(d) |
#define dictMin | ( | d | ) | __gl_dictListMin(d) |
#define dictNewDict | ( | frame, | |
leq | |||
) | __gl_dictListNewDict(frame,leq) |
#define DictNode DictListNode |
#define dictPred | ( | n | ) | __gl_dictListPred(n) |
#define dictSearch | ( | dict, | |
key | |||
) | __gl_dictListSearch(dict,key) |
#define dictSucc | ( | n | ) | __gl_dictListSucc(n) |
typedef void* DictListKey |
typedef struct DictListNode DictListNode |
void __gl_dictListDelete | ( | DictList * | dict, |
DictListNode * | node | ||
) |
DictListNode * __gl_dictListInsertBefore | ( | DictList * | dict, |
DictListNode * | node, | ||
DictListKey | key | ||
) |
DictList * __gl_dictListNewDict | ( | void * | frame, |
int(*)(void *frame, DictListKey key1, DictListKey key2) | leq | ||
) |
DictListNode * __gl_dictListSearch | ( | DictList * | dict, |
DictListKey | key | ||
) |