Changeset 14676 for trunk/psLib/src/sys/psMemory.h
- Timestamp:
- Aug 27, 2007, 1:14:35 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psMemory.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psMemory.h
r12380 r14676 15 15 * @ingroup MemoryManagement 16 16 * 17 * @version $Revision: 1. 69$ $Name: not supported by cvs2svn $18 * @date $Date: 2007-0 3-09 20:11:04$17 * @version $Revision: 1.70 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2007-08-27 23:14:35 $ 19 19 * 20 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 407 407 #endif // ifdef DOXYGEN 408 408 409 /** Checks to see if a pointer is to a region of memory that was allocated by psAlloc(). 410 * @return bool 411 * 412 */ 413 #ifdef DOXYGEN 414 bool psMemIsAlloced( 415 const void *ptr ///< pointer to memory 416 ); 417 #else // ifdef DOXYGEN 418 bool p_psMemIsAlloced( 419 const char *file, 420 unsigned int lineno, 421 const char *func, 422 const void *ptr 423 ); 424 #ifndef SWIG 425 #define psMemIsAlloced(ptr) \ 426 p_psMemIsAlloced(__FILE__, __LINE__, __func__, ptr) 427 #endif // ifndef SWIG 428 #endif // ifdef DOXYGEN 429 409 430 410 431 /** Return reference counter
Note:
See TracChangeset
for help on using the changeset viewer.
