Changeset 4589 for trunk/psLib/src/sys/psMemory.h
- Timestamp:
- Jul 20, 2005, 3:40:10 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psMemory.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psMemory.h
r4578 r4589 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-07- 18 20:54:22$14 * @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-07-21 01:40:10 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 169 169 */ 170 170 psFreeFunc psMemGetDeallocator( 171 psPtr ptr ///< the memory block171 const psPtr ptr ///< the memory block 172 172 ); 173 173 … … 239 239 void p_psFree( 240 240 psPtr ptr, ///< Pointer to free 241 const char *file ,///< File of call241 const char *filename, ///< File of call 242 242 unsigned int lineno ///< Line number of call 243 243 ); … … 260 260 * If memory leaks are found, the Memory Problem callback will be called as well. 261 261 * 262 * return psS32number of memory blocks found as 'leaks', i.e., the number of currently allocated memory262 * @return int number of memory blocks found as 'leaks', i.e., the number of currently allocated memory 263 263 * blocks above id0 that have not been freed. 264 264 * @see psAlloc, psFree, psgetMemId, psMemProblemCallbackSet 265 265 * @ingroup memTracing 266 266 */ 267 psS32psMemCheckLeaks(267 int psMemCheckLeaks( 268 268 psMemId id0, ///< don't list blocks with id < id0 269 269 psMemBlock* ** arr, ///< pointer to array of pointers to leaked blocks, or NULL … … 275 275 * i.e., invalid markers that signify a buffer under/overflow. 276 276 * 277 * @return int 278 * 277 279 * @ingroup memTracing 278 280 */ … … 283 285 /** Return reference counter 284 286 * 287 * @return psReferenceCount 288 * 285 289 * @ingroup memRefCount 286 290 */ … … 290 294 291 295 /** Increment reference counter and return the pointer 296 * 297 * @return psPtr 292 298 * 293 299 * @ingroup memRefCount
Note:
See TracChangeset
for help on using the changeset viewer.
