Changeset 1842 for trunk/psLib/src/collections/psHash.c
- Timestamp:
- Sep 21, 2004, 1:17:53 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psHash.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psHash.c
r1841 r1842 11 11 * @author George Gusciora, MHPCC 12 12 * 13 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-09-21 23:1 5:04$13 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-09-21 23:17:53 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 84 84 the new hash bucket. 85 85 *****************************************************************************/ 86 static psHashBucket* hashBucketAlloc(const char *key, void *data, psHashBucket* next) 86 static psHashBucket* hashBucketAlloc(const char *key, 87 void *data, 88 psHashBucket* next) 87 89 { 88 90 // Allocate memory for the new hash bucket. … … 210 212 there is little common code between those functions. 211 213 *****************************************************************************/ 212 static void *doHashWork(psHash* table, const char *key, void *data, bool remove 214 static void *doHashWork(psHash* table, 215 const char *key, 216 void *data, bool remove 213 217 ) 214 218 { … … 340 344 boolean value defining success or failure 341 345 *****************************************************************************/ 342 bool psHashAdd(psHash* table, const char *key, void *data) 346 bool psHashAdd(psHash* table, 347 const char *key, 348 void *data) 343 349 { 344 350 if (table == NULL) { … … 403 409 boolean value defining success or failure 404 410 *****************************************************************************/ 405 bool psHashRemove(psHash* table, const char *key) 411 bool psHashRemove(psHash* table, 412 const char *key) 406 413 { 407 414 void *data = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
