Changeset 54 for trunk/include/helpers/tree.h
- Timestamp:
- Apr 4, 2001, 4:39:06 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/tree.h
r38 r54 101 101 } TREE, *PTREE; 102 102 103 #if defined(__IBMC__) || defined(__IBMCPP__) 104 #define TREEENTRY _Optlink 105 #else 106 // EMX or whatever: doesn't know calling conventions 107 #define TREENTRY 108 #endif 109 103 110 // The tree algorithm needs to know how to sort the data. 104 111 // It does this using a functions provided by the calling program. … … 107 114 // -- -1: t1 < t2 108 115 // -- +1: t1 > t2 109 typedef int XWPENTRY FNTREE_COMPARE_NODES(TREE *t1, TREE *t2);110 typedef int XWPENTRY FNTREE_COMPARE_DATA(TREE *t1, void *pData);116 typedef int TREEENTRY FNTREE_COMPARE_NODES(TREE *t1, TREE *t2); 117 typedef int TREEENTRY FNTREE_COMPARE_DATA(TREE *t1, void *pData); 111 118 112 119 // Define a function type for use with the tree traversal function 113 typedef void XWPENTRY TREE_PROCESS(TREE *t, void *pUser);120 typedef void TREEENTRY TREE_PROCESS(TREE *t, void *pUser); 114 121 115 122 // Global variables
Note:
See TracChangeset
for help on using the changeset viewer.