Changeset 3132 for trunk/tools/fastdep/avl.h
- Timestamp:
 - Mar 17, 2000, 12:51:26 AM (26 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/tools/fastdep/avl.h (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/tools/fastdep/avl.h
r3129 r3132 1 /* $Id: avl.h,v 1. 1 2000-03-16 21:10:10bird Exp $1 /* $Id: avl.h,v 1.2 2000-03-16 23:51:25 bird Exp $ 2 2 * 3 3 * AVL-Tree (lookalike) declaration. … … 8 8 * one type of trees within one program (module). 9 9 * 10 * TREETYPE: Case Insensitive Strings (Key is pointer).10 * TREETYPE: Case Sensitive Strings (Key is pointer). 11 11 * 12 12 * … … 32 32 * AVL Compare macros 33 33 */ 34 #define AVL_L(key1, key2) (str icmp(key1, key2) < 0)35 #define AVL_LE(key1, key2) (str icmp(key1, key2) <= 0)36 #define AVL_G(key1, key2) (str icmp(key1, key2) > 0)37 #define AVL_GE(key1, key2) (str icmp(key1, key2) >= 0)38 #define AVL_E(key1, key2) (str icmp(key1, key2) == 0)39 #define AVL_NE(key1, key2) (str icmp(key1, key2) != 0)34 #define AVL_L(key1, key2) (strcmp(key1, key2) < 0) 35 #define AVL_LE(key1, key2) (strcmp(key1, key2) <= 0) 36 #define AVL_G(key1, key2) (strcmp(key1, key2) > 0) 37 #define AVL_GE(key1, key2) (strcmp(key1, key2) >= 0) 38 #define AVL_E(key1, key2) (strcmp(key1, key2) == 0) 39 #define AVL_NE(key1, key2) (strcmp(key1, key2) != 0) 40 40 41 41  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  