Changeset 14982 for trunk/psLib/src/sys/psMemory.h
- Timestamp:
- Sep 21, 2007, 5:01:08 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
r14677 r14982 15 15 * @ingroup MemoryManagement 16 16 * 17 * @version $Revision: 1.7 1$ $Name: not supported by cvs2svn $18 * @date $Date: 2007-0 8-27 23:16:17$17 * @version $Revision: 1.72 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2007-09-22 03:01:08 $ 19 19 * 20 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 637 637 638 638 639 // Ensure this is a psLib pointer 640 #define PS_ASSERT_PTR(PTR, RVAL) \ 641 { \ 642 if (PTR && (!psMemIsAlloced(PTR))) { \ 643 psError(PS_ERR_MEMORY_CORRUPTION, false, \ 644 "Error: Pointer %p is corrupted or not on the PS memory system.", \ 645 PTR); \ 646 return RVAL; \ 647 } \ 648 } 649 639 650 /// @} end of SysUtils 640 651
Note:
See TracChangeset
for help on using the changeset viewer.
