IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2005, 5:32:42 PM (21 years ago)
Author:
drobbin
Message:

changed psMemoryId to psMemId

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.h

    r4392 r4397  
    1212 *  @ingroup MemoryManagement
    1313 *
    14  *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-06-25 02:02:05 $
     14 *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-25 03:32:42 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4949
    5050/// typedef for memory identification numbers.  Guaranteed to be some variety of integer.
    51 typedef psU64 psMemoryId;
     51typedef psU64 psMemId;
    5252
    5353/// typedef for a memory block's reference count. Guaranteed to be some variety of integer.
     
    6969    psFreeFunc freeFcn;                 ///< deallocator.  If NULL, use generic deallocation.
    7070    size_t userMemorySize;             ///< the size of the user-portion of the memory block
    71     const psMemoryId id;               ///< a unique ID for this allocation
     71    const psMemId id;               ///< a unique ID for this allocation
    7272    const char *file;                  ///< set from __FILE__ in e.g. p_psAlloc
    7373    const psS32 lineno;                  ///< set from __LINE__ in e.g. p_psAlloc
     
    8484 *  @ingroup memCallback
    8585 */
    86 typedef psMemoryId(*psMemAllocateCallback) (
     86typedef psMemId(*psMemAllocateCallback) (
    8787    const psMemBlock* ptr              ///< the psMemBlock just allocated
    8888);
     
    9393 *  @ingroup memCallback
    9494 */
    95 typedef psMemoryId(*psMemFreeCallback) (
     95typedef psMemId(*psMemFreeCallback) (
    9696    const psMemBlock* ptr              ///< the psMemBlock being freed
    9797);
     
    259259 */
    260260psS32 psMemCheckLeaks(
    261     psMemoryId id0,                    ///< don't list blocks with id < id0
     261    psMemId id0,                    ///< don't list blocks with id < id0
    262262    psMemBlock* ** arr,                ///< pointer to array of pointers to leaked blocks, or NULL
    263263    FILE * fd,                         ///< print list of leaks to fd (or NULL)
     
    394394 *  @ingroup memCallback
    395395 *
    396  *  @return psMemoryId                 the next memory ID to be used
    397  */
    398 psMemoryId psMemGetId(void);
     396 *  @return psMemId                 the next memory ID to be used
     397 */
     398psMemId psMemGetId(void);
    399399
    400400/** set p_psMemAllocateID to specific id
     
    407407 *  @ingroup memCallback
    408408 *
    409  *  @return psMemoryId
     409 *  @return psMemId
    410410 *
    411411 *  @see psMemAllocateCallbackSet
    412412 */
    413 psMemoryId psMemAllocateCallbackSetID(
    414     psMemoryId id                      ///< ID to set
     413psMemId psMemAllocateCallbackSetID(
     414    psMemId id                      ///< ID to set
    415415);
    416416
     
    424424 *  @ingroup memCallback
    425425 *
    426  *  @return psMemoryId                 the old p_psMemFreeID
     426 *  @return psMemId                 the old p_psMemFreeID
    427427 *
    428428 *  @see psMemFreeCallbackSet
    429429 */
    430 psMemoryId psMemFreeCallbackSetID(
    431     psMemoryId id                      ///< ID to set
     430psMemId psMemFreeCallbackSetID(
     431    psMemId id                      ///< ID to set
    432432);
    433433
Note: See TracChangeset for help on using the changeset viewer.