equal
deleted
inserted
replaced
87 void print(PrintKeyOrValue print_key, PrintKeyOrValue print_value); |
87 void print(PrintKeyOrValue print_key, PrintKeyOrValue print_value); |
88 }; |
88 }; |
89 |
89 |
90 // Hashing functions |
90 // Hashing functions |
91 int hashstr(const void *s); // Nice string hash |
91 int hashstr(const void *s); // Nice string hash |
92 // Slimey cheap hash function; no guarenteed performance. Better than the |
92 // Slimey cheap hash function; no guaranteed performance. Better than the |
93 // default for pointers, especially on MS-DOS machines. |
93 // default for pointers, especially on MS-DOS machines. |
94 int hashptr(const void *key); |
94 int hashptr(const void *key); |
95 // Slimey cheap hash function; no guarenteed performance. |
95 // Slimey cheap hash function; no guaranteed performance. |
96 int hashkey(const void *key); |
96 int hashkey(const void *key); |
97 |
97 |
98 // Key comparators |
98 // Key comparators |
99 int cmpstr(const void *k1, const void *k2); |
99 int cmpstr(const void *k1, const void *k2); |
100 // Slimey cheap key comparator. |
100 // Slimey cheap key comparator. |