7e2c4ebca145638ee16f713004f8fb521ebeae51 angie Fri Feb 7 13:07:22 2014 -0800 Fixing a couple comments that promise too much. diff --git src/inc/hash.h src/inc/hash.h index 9673256..6cd50b3 100644 --- src/inc/hash.h +++ src/inc/hash.h @@ -221,36 +221,34 @@ /* Return the next name in the hash table, or NULL if no more. Do not modify * hash table while this is being used. */ struct hash *newHashExt(int powerOfTwoSize, boolean useLocalMem); /* Returns new hash table. Uses local memory optionally. */ #define hashNewExt(a) newHashExt(a) /* Synonym */ #define newHash(a) newHashExt(a, TRUE) /* Returns new hash table using local memory. */ #define hashNew(a) newHash(a) /* Synonym */ void hashResize(struct hash *hash, int powerOfTwoSize); /* Resize the hash to a new size */ struct hash *hashFromSlNameList(void *list); -/* Create a hash out of a list of slNames or any kind of list where the */ -/* first field is the next pointer and the second is the name. */ +/* Create a hash out of a list of slNames. */ struct hash *hashSetFromSlNameList(void *list); -/* Create a hashSet (hash without values) out of a list of slNames or any kind - * of list where the first field is the next pointer and the second is the name. */ +/* Create a hashSet (hash without values) out of a list of slNames. */ void freeHash(struct hash **pHash); /* Free up hash table. */ #define hashFree(a) freeHash(a) /* Synonym */ void freeHashAndVals(struct hash **pHash); /* Free up hash table and all values associated with it. * (Just calls freeMem on each hel->val) */ void hashFreeWithVals(struct hash **pHash, void (freeFunc)()); /* Free up hash table and all values associated with it. freeFunc is a * function to free an entry, should take a pointer to a pointer to an * entry. */ void hashFreeList(struct hash **pList);