Changeset 33 for trunk/include/helpers/tree.h
- Timestamp:
- Feb 7, 2001, 7:30:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/tree.h
r14 r33 107 107 // -- -1: t1 < t2 108 108 // -- +1: t1 > t2 109 typedef int (FNTREE_COMPARE_IDS) (unsigned long id1, unsigned long id2);110 109 typedef int (FNTREE_COMPARE_NODES) (TREE *t1, TREE *t2); 111 110 typedef int (FNTREE_COMPARE_DATA) (TREE *t1, void *pData); … … 122 121 int treeInsertID(TREE **root, 123 122 TREE *tree, 124 FNTREE_COMPARE_IDS *comp,125 123 BOOL fAllowDuplicates); 126 124 … … 132 130 int treeDelete(TREE **root, 133 131 TREE *tree); 134 135 /* void *treeFindEQID (TREE **root,136 TREE *tree,137 TREE_COMPARE *comp); */138 /* void *treeFindGEID (TREE **root,139 TREE *tree,140 FNTREE_COMPARE_IDS *comp); */141 132 142 133 void* treeFindEQNode(TREE **root, … … 157 148 158 149 void* treeFindEQID(TREE **root, 159 unsigned long idFind, 160 FNTREE_COMPARE_IDS *comp); 150 unsigned long idFind); 161 151 void* treeFindLTID(TREE **root, 162 unsigned long idFind, 163 FNTREE_COMPARE_IDS *comp); 152 unsigned long idFind); 164 153 void* treeFindLEID(TREE **root, 165 unsigned long idFind, 166 FNTREE_COMPARE_IDS *comp); 154 unsigned long idFind); 167 155 void* treeFindGTID(TREE **root, 168 unsigned long idFind, 169 FNTREE_COMPARE_IDS *comp); 156 unsigned long idFind); 170 157 void* treeFindGEID(TREE **root, 171 unsigned long idFind, 172 FNTREE_COMPARE_IDS *comp); 158 unsigned long idFind); 173 159 174 160 void* treeFindEQData(TREE **root,
Note:
See TracChangeset
for help on using the changeset viewer.