savl_test_tree.h 397 B

123456789
  1. #define SAVL_PARAM_NAME MyTree
  2. #define SAVL_PARAM_FEATURE_COUNTS 1
  3. #define SAVL_PARAM_FEATURE_NOKEYS 1
  4. #define SAVL_PARAM_TYPE_ENTRY struct mynode
  5. #define SAVL_PARAM_TYPE_ARG int
  6. #define SAVL_PARAM_TYPE_COUNT int
  7. #define SAVL_PARAM_VALUE_COUNT_MAX INT_MAX
  8. #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->num, (entry2)->num)
  9. #define SAVL_PARAM_MEMBER_NODE tree_node