Changeset 9538 for trunk/psLib/src/imageops
- Timestamp:
- Oct 13, 2006, 11:13:48 AM (20 years ago)
- Location:
- trunk/psLib/src/imageops
- Files:
-
- 2 edited
-
psImageConvolve.c (modified) (3 diffs)
-
psImageStructManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.c
r8232 r9538 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2006- 08-08 23:32:23$7 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-10-13 21:13:48 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 #include "psLogMsg.h" 21 21 #include "psError.h" 22 #include "psAssert.h" 22 23 23 24 … … 90 91 bool psMemCheckKernel(psPtr ptr) 91 92 { 92 if (!is_psType(ptr)) { 93 return false; 94 } 93 PS_ASSERT_PTR(ptr, false); 95 94 return ( psMemGetDeallocator(ptr) == (psFreeFunc)freeKernel ); 96 95 } -
trunk/psLib/src/imageops/psImageStructManip.c
r8232 r9538 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2006- 08-08 23:32:23$10 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-10-13 21:13:48 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 97 97 // if a child, need to orphan (disassociate from parent) first 98 98 if (out->parent != NULL) { 99 psArrayRemove (out->parent->children,psMemIncrRefCounter(out));99 psArrayRemoveData(out->parent->children,psMemIncrRefCounter(out)); 100 100 // remove from parent's knowledge without triggering a free 101 101 out->parent = NULL; // break link to parent
Note:
See TracChangeset
for help on using the changeset viewer.
