IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2010, 7:27:29 PM (16 years ago)
Author:
eugene
Message:

updates from eam_branches/20091201

File:
1 edited

Legend:

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

    r23305 r26892  
    326326
    327327/** Free memory.  This operates much like free().
    328  *
     328 * 
    329329 *  @see psAlloc, psRealloc
     330 *  note: we cast ptr to (void *) in case we are supplied a const pointer.
    330331 */
    331332#ifdef DOXYGEN
     
    336337#ifndef SWIG
    337338#define psFree(ptr) \
    338         psMemDecrRefCounter(ptr)
     339    ptr = psMemDecrRefCounter((void *)ptr);
    339340#endif // ifndef SWIG
    340341#endif // ifdef DOXYGEN
Note: See TracChangeset for help on using the changeset viewer.