Changeset 14682 for trunk/psLib/src/sys/psAssert.h
- Timestamp:
- Aug 27, 2007, 4:55:51 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psAssert.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psAssert.h
r14676 r14682 23 23 #define PS_ASSERT_PTR(PTR, RVAL) \ 24 24 { \ 25 if (PTR == NULL) return RVAL; \ 26 if (!psMemIsAlloced(PTR)) { \ 25 if (PTR && (!psMemIsAlloced(PTR))) { \ 27 26 psError(PS_ERR_MEMORY_CORRUPTION, false, \ 28 27 "Error: Pointer %p is corrupted or not on the PS memory system.", \
Note:
See TracChangeset
for help on using the changeset viewer.
