Create a new hash table */
| 105 | |
| 106 | /* Create a new hash table */ |
| 107 | dict *dictCreate(dictType *type, |
| 108 | void *privDataPtr) |
| 109 | { |
| 110 | dict *d = zmalloc(sizeof(*d)); |
| 111 | |
| 112 | _dictInit(d,type,privDataPtr); |
| 113 | return d; |
| 114 | } |
| 115 | |
| 116 | /* Initialize the hash table */ |
| 117 | int _dictInit(dict *d, dictType *type, |
no test coverage detected