IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4392 for trunk/psLib/src/sys


Ignore:
Timestamp:
Jun 24, 2005, 4:02:05 PM (21 years ago)
Author:
drobbin
Message:

changed psFreeFcn to psFreeFunc

Location:
trunk/psLib/src/sys
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psError.c

    r4342 r4392  
    1010 *  @author Eric Van Alst, MHPCC
    1111 *
    12  *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-06-22 02:05:41 $
     12 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-06-25 02:02:05 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6262    err->code = code;
    6363
    64     psMemSetDeallocator(err,(psFreeFcn)errFree);
     64    psMemSetDeallocator(err,(psFreeFunc)errFree);
    6565
    6666    return err;
  • trunk/psLib/src/sys/psErrorCodes.c

    r4308 r4392  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-17 23:44:21 $
     9 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-25 02:02:05 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    105105    }
    106106
    107     psMemSetDeallocator(err,(psFreeFcn)freeErrorDescription);
     107    psMemSetDeallocator(err,(psFreeFunc)freeErrorDescription);
    108108    return err;
    109109}
  • trunk/psLib/src/sys/psMemory.c

    r4321 r4392  
    88*  @author Robert Lupton, Princeton University
    99*
    10 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-06-20 22:42:30 $
     10*  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2005-06-25 02:02:05 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    640640}
    641641
    642 void psMemSetDeallocator(psPtr vptr, psFreeFcn freeFcn)
     642void psMemSetDeallocator(psPtr vptr, psFreeFunc freeFcn)
    643643{
    644644    if (vptr == NULL) {
     
    655655
    656656}
    657 psFreeFcn psMemGetDeallocator(psPtr vptr)
     657psFreeFunc psMemGetDeallocator(psPtr vptr)
    658658{
    659659    if (vptr == NULL) {
  • trunk/psLib/src/sys/psMemory.h

    r4330 r4392  
    1212 *  @ingroup MemoryManagement
    1313 *
    14  *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-06-21 03:01:37 $
     14 *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-25 02:02:05 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5555
    5656/// typedef for deallocator.
    57 typedef void (*psFreeFcn) (psPtr ptr);
     57typedef void (*psFreeFunc) (psPtr ptr);
    5858
    5959/** Book-keeping data for storage allocator.
     
    6767    struct psMemBlock* previousBlock;  ///< previous block in allocation list
    6868    struct psMemBlock* nextBlock;      ///< next block allocation list
    69     psFreeFcn freeFcn;                 ///< deallocator.  If NULL, use generic deallocation.
     69    psFreeFunc freeFcn;                 ///< deallocator.  If NULL, use generic deallocation.
    7070    size_t userMemorySize;             ///< the size of the user-portion of the memory block
    7171    const psMemoryId id;               ///< a unique ID for this allocation
     
    152152void psMemSetDeallocator(
    153153    psPtr ptr,                         ///< the memory block to operate on
    154     psFreeFcn freeFcn                  ///< the function to be executed at deallocation
     154    psFreeFunc freeFcn                  ///< the function to be executed at deallocation
    155155);
    156156
     
    162162 *  within a struct.
    163163 *
    164  *  @return psFreeFcn    the routine to be called at deallocation.
    165  */
    166 psFreeFcn psMemGetDeallocator(
     164 *  @return psFreeFunc    the routine to be called at deallocation.
     165 */
     166psFreeFunc psMemGetDeallocator(
    167167    psPtr ptr                          ///< the memory block
    168168);
  • trunk/psLib/src/sys/psTrace.c

    r4330 r4392  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.51 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-06-21 03:01:37 $
     11 *  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-06-25 02:02:05 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6767
    6868    p_psMemSetPersistent(comp,true);
    69     psMemSetDeallocator(comp, (psFreeFcn) componentFree);
     69    psMemSetDeallocator(comp, (psFreeFunc) componentFree);
    7070    comp->name = psStringCopy(name);
    7171    p_psMemSetPersistent((psPtr)comp->name,true);
Note: See TracChangeset for help on using the changeset viewer.