| 199 | } |
| 200 | |
| 201 | hashTable_t * makeHashTable() |
| 202 | { |
| 203 | hashTable_t * ht = (hashTable_t *)malloc(sizeof(hashTable_t)); |
| 204 | if (ht == NULL) fatalError("samblaster: unable to allocate hash table.\n"); |
| 205 | hashTableInit(ht, hashTableSizes[0]); |
| 206 | return ht; |
| 207 | } |
| 208 | |
| 209 | // Use a C++ style destructor so that arrays of hash tables will be cleaned up automagically. |
| 210 | hashTable::~hashTable() |
nothing calls this directly
no test coverage detected