|
|
|
@ -39,12 +39,12 @@ TR_INSTANCE_INIT(TR_Tree); |
|
|
|
TR_CLASSVARS_DECL(TR_Tree) {}; |
|
|
|
|
|
|
|
typedef int (*TR_TreeComp)(const void *, const void *); |
|
|
|
typedef void (*TR_TreeAction)(const void *, const int); |
|
|
|
typedef void (*TR_TreeAction)(const void *, const void *, const int); |
|
|
|
|
|
|
|
void * TR_treeFind(TR_Tree, const void *, TR_TreeComp); |
|
|
|
void * TR_treeInsert(TR_Tree *, const void *, TR_TreeComp); |
|
|
|
void * TR_treeDelete(TR_Tree *, const void *, TR_TreeComp); |
|
|
|
void TR_treeWalk(TR_Tree, TR_TreeAction); |
|
|
|
void TR_treeWalk(TR_Tree, const void *, TR_TreeAction); |
|
|
|
void TR_treeDestroy(TR_Tree *, TR_TreeAction); |
|
|
|
|
|
|
|
#endif // __TR_TREE_H__ |
|
|
|
|