IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 4, 2010, 10:02:37 AM (17 years ago)
Author:
eugene
Message:

on free (not just decrement), set the pointer to NULL in the psFree macro; cast the pointer supplied to psFree to (void *) in case we are supplied a const pointer; in cases where we were casting away a const to pass it to psFree, drop this cast (it breaks the assignement code); change the arguments for several functions where parameter is claimed as const, but is not really const (ie, it may be freed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psLib/src/math/psUnaryOp.h

    r11248 r26504  
    5959psMathType* psUnaryOp(
    6060    psPtr out,                         ///< Output type, either psImage or psVector.
    61     const psPtr in,                    ///< Input, either psImage or psVector.
     61    psPtr in,                          ///< Input, either psImage or psVector.
    6262    const char *op                     ///< Operator.
    6363);
Note: See TracChangeset for help on using the changeset viewer.