IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15047


Ignore:
Timestamp:
Sep 27, 2007, 2:36:08 PM (19 years ago)
Author:
eugene
Message:

temporarily disable PS_ASSERT_PTR, renamed to PS_ASSERT_PTR_HEAVY

Location:
trunk/psLib/src/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psAssert.h

    r14982 r15047  
    213213} \
    214214
     215#define PS_ASSERT_PTR(NAME, RVAL)
     216
    215217#define PS_ASSERT_PTR_NON_NULL(NAME, RVAL) PS_ASSERT_GENERAL_PTR_NON_NULL(NAME, return RVAL)
    216218#define PS_ASSERT_GENERAL_PTR_NON_NULL(NAME, CLEANUP) \
  • trunk/psLib/src/sys/psMemory.h

    r14982 r15047  
    1515 *  @ingroup MemoryManagement
    1616 *
    17  *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    18  *  @date $Date: 2007-09-22 03:01:08 $
     17 *  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     18 *  @date $Date: 2007-09-28 00:36:08 $
    1919 *
    2020 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    636636);
    637637
    638 
    639638// Ensure this is a psLib pointer
    640 #define PS_ASSERT_PTR(PTR, RVAL) \
     639#define PS_ASSERT_PTR_HEAVY(PTR, RVAL) \
    641640{ \
    642641    if (PTR && (!psMemIsAlloced(PTR))) { \
Note: See TracChangeset for help on using the changeset viewer.