IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2004, 5:12:19 PM (22 years ago)
Author:
desonia
Message:

Fixed some namespace issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psMemory.c

    r1073 r1081  
    88 *  @author Robert Lupton, Princeton University
    99 *
    10  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-06-23 23:00:15 $
     10 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2004-06-24 03:12:19 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    182182 * N.b. If the block wasn't allocated by psAlloc, it will appear corrupted
    183183 */
    184 #define ALIGNED(P) ((void *)((long)(P) & ~03) == (P))
    185184
    186185static int checkMemBlock(const psMemBlock *m, const char* funcName)
     
    191190    if (m == NULL) {
    192191        psError(funcName,"Memory Corruption: NULL memory block found.");
    193         return(1);
    194     }
    195 
    196     if (!ALIGNED(m)) {
    197         psError(funcName, "psMemCheckCorruption: non-aligned memory block");
    198192        return(1);
    199193    }
Note: See TracChangeset for help on using the changeset viewer.