Changeset 1440 for trunk/psLib/src/sysUtils/psMemory.h
- Timestamp:
- Aug 9, 2004, 1:34:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psMemory.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psMemory.h
r1426 r1440 15 15 * @ingroup MemoryManagement 16 16 * 17 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $18 * @date $Date: 2004-08-09 2 2:44:25$17 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2004-08-09 23:34:58 $ 19 19 * 20 20 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 64 64 { 65 65 const void *startblock; ///< initialised to p_psMEMMAGIC 66 struct psMemBlock *previousBlock; ///< previous block in allocation list67 struct psMemBlock *nextBlock; ///< next block allocation list66 struct psMemBlock* previousBlock; ///< previous block in allocation list 67 struct psMemBlock* nextBlock; ///< next block allocation list 68 68 psFreeFcn freeFcn; ///< deallocator. If NULL, use generic deallocation. 69 69 size_t userMemorySize; ///< the size of the user-portion of the memory block … … 82 82 * @ingroup memCallback 83 83 */ 84 typedef psMemoryId(*psMemAllocateCallback) (const psMemBlock * ptr ///< the psMemBlock just allocated84 typedef psMemoryId(*psMemAllocateCallback) (const psMemBlock* ptr ///< the psMemBlock just allocated 85 85 ); 86 86 … … 90 90 * @ingroup memCallback 91 91 */ 92 typedef psMemoryId(*psMemFreeCallback) (const psMemBlock * ptr ///< the psMemBlock being freed92 typedef psMemoryId(*psMemFreeCallback) (const psMemBlock* ptr ///< the psMemBlock being freed 93 93 ); 94 94 … … 100 100 * @ingroup memCallback 101 101 */ 102 typedef void (*psMemProblemCallback) (const psMemBlock * ptr, ///< the pointer to the problematic memory102 typedef void (*psMemProblemCallback) (const psMemBlock* ptr, ///< the pointer to the problematic memory 103 103 // block. 104 104 const char *file, ///< the file in which the problem originated … … 195 195 */ 196 196 int psMemCheckLeaks(psMemoryId id0, ///< don't list blocks with id < id0 197 psMemBlock *** arr, ///< pointer to array of pointers to leaked blocks, or NULL197 psMemBlock* ** arr, ///< pointer to array of pointers to leaked blocks, or NULL 198 198 FILE * fd ///< print list of leaks to fd (or NULL) 199 199 );
Note:
See TracChangeset
for help on using the changeset viewer.
