savl_test_tree.h 320 B

1234567
  1. #define SAVL_PARAM_NAME MyTree
  2. #define SAVL_PARAM_FEATURE_COUNTS 0
  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_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->num, (entry2)->num)
  7. #define SAVL_PARAM_MEMBER_NODE tree_node