Changeset 4392 for trunk/psLib/src/sysUtils/psMemory.h
- Timestamp:
- Jun 24, 2005, 4:02:05 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psMemory.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psMemory.h
r4330 r4392 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.4 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-2 1 03:01:37$14 * @version $Revision: 1.42 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-25 02:02:05 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 55 55 56 56 /// typedef for deallocator. 57 typedef void (*psFreeF cn) (psPtr ptr);57 typedef void (*psFreeFunc) (psPtr ptr); 58 58 59 59 /** Book-keeping data for storage allocator. … … 67 67 struct psMemBlock* previousBlock; ///< previous block in allocation list 68 68 struct psMemBlock* nextBlock; ///< next block allocation list 69 psFreeF cnfreeFcn; ///< deallocator. If NULL, use generic deallocation.69 psFreeFunc freeFcn; ///< deallocator. If NULL, use generic deallocation. 70 70 size_t userMemorySize; ///< the size of the user-portion of the memory block 71 71 const psMemoryId id; ///< a unique ID for this allocation … … 152 152 void psMemSetDeallocator( 153 153 psPtr ptr, ///< the memory block to operate on 154 psFreeF cnfreeFcn ///< the function to be executed at deallocation154 psFreeFunc freeFcn ///< the function to be executed at deallocation 155 155 ); 156 156 … … 162 162 * within a struct. 163 163 * 164 * @return psFreeF cnthe routine to be called at deallocation.165 */ 166 psFreeF cnpsMemGetDeallocator(164 * @return psFreeFunc the routine to be called at deallocation. 165 */ 166 psFreeFunc psMemGetDeallocator( 167 167 psPtr ptr ///< the memory block 168 168 );
Note:
See TracChangeset
for help on using the changeset viewer.
