IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2004, 12:05:14 PM (22 years ago)
Author:
desonia
Message:

changed psHashInsert to psHashAdd and made it return a bool value indicating
success or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psHash.c

    r1073 r1202  
    1010 *  @author George Gusciora, MHPCC
    1111 *   
    12  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-06-23 23:00:15 $
     12 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-07-08 22:05:14 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    359359    NONE
    360360 *****************************************************************************/
    361 void *psHashInsert(psHash *table, const char *key, void *data)
     361bool psHashAdd(psHash *table, const char *key, void *data)
    362362{
    363363    if (table == NULL) {
     
    371371    }
    372372
    373     return doHashWork(table, key, data, 0);
     373    return (doHashWork(table, key, data, 0) != NULL);
    374374}
    375375
Note: See TracChangeset for help on using the changeset viewer.