Changeset 26504
- Timestamp:
- Jan 4, 2010, 10:02:37 AM (16 years ago)
- Location:
- branches/eam_branches/20091201/psLib/src
- Files:
-
- 10 edited
-
imageops/psImageInterpolate.c (modified) (1 diff)
-
math/psBinaryOp.c (modified) (1 diff)
-
math/psBinaryOp.h (modified) (1 diff)
-
math/psHistogram.c (modified) (1 diff)
-
math/psUnaryOp.c (modified) (1 diff)
-
math/psUnaryOp.h (modified) (1 diff)
-
sys/psMemory.h (modified) (1 diff)
-
sys/psTrace.c (modified) (1 diff)
-
types/psArray.c (modified) (1 diff)
-
types/psArray.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psLib/src/imageops/psImageInterpolate.c
r23231 r26504 197 197 { 198 198 // Casting away const 199 psFree( (psImage*)interp->image);200 psFree( (psImage*)interp->mask);201 psFree( (psImage*)interp->variance);202 psFree( (psImage*)interp->kernel);203 psFree( (psImage*)interp->kernel2);204 psFree( (psVector*)interp->sumKernel2);199 psFree(interp->image); 200 psFree(interp->mask); 201 psFree(interp->variance); 202 psFree(interp->kernel); 203 psFree(interp->kernel2); 204 psFree(interp->sumKernel2); 205 205 } 206 206 -
branches/eam_branches/20091201/psLib/src/math/psBinaryOp.c
r17050 r26504 379 379 } 380 380 381 psMathType* psBinaryOp(psPtr out, const psPtr in1, const char *op, constpsPtr in2)381 psMathType* psBinaryOp(psPtr out, psPtr in1, const char *op, psPtr in2) 382 382 { 383 383 -
branches/eam_branches/20091201/psLib/src/math/psBinaryOp.h
r11248 r26504 55 55 psMathType* psBinaryOp( 56 56 psPtr out, ///< Output type, either psImage or psVector. 57 constpsPtr in1, ///< First input, either psImage or psVector.57 psPtr in1, ///< First input, either psImage or psVector. 58 58 const char *op, ///< Operator. 59 constpsPtr in2 ///< Second input, either psImage or psVector.59 psPtr in2 ///< Second input, either psImage or psVector. 60 60 ); 61 61 -
branches/eam_branches/20091201/psLib/src/math/psHistogram.c
r21183 r26504 127 127 static void histogramFree(psHistogram* myHist) 128 128 { 129 psFree( (void *)myHist->bounds);129 psFree(myHist->bounds); 130 130 psFree(myHist->nums); 131 131 } -
branches/eam_branches/20091201/psLib/src/math/psUnaryOp.c
r17050 r26504 211 211 } 212 212 213 psMathType* psUnaryOp(psPtr out, constpsPtr in, const char *op)213 psMathType* psUnaryOp(psPtr out, psPtr in, const char *op) 214 214 { 215 215 #define psUnaryOp_EXIT { \ -
branches/eam_branches/20091201/psLib/src/math/psUnaryOp.h
r11248 r26504 59 59 psMathType* psUnaryOp( 60 60 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. 62 62 const char *op ///< Operator. 63 63 ); -
branches/eam_branches/20091201/psLib/src/sys/psMemory.h
r23305 r26504 336 336 #ifndef SWIG 337 337 #define psFree(ptr) \ 338 psMemDecrRefCounter(ptr)338 ptr = psMemDecrRefCounter((void *)ptr); 339 339 #endif // ifndef SWIG 340 340 #endif // ifdef DOXYGEN -
branches/eam_branches/20091201/psLib/src/sys/psTrace.c
r20546 r26504 119 119 120 120 psMemSetPersistent((psPtr)comp->name,false); 121 psFree( (void *)comp->name);121 psFree(comp->name); 122 122 } 123 123 -
branches/eam_branches/20091201/psLib/src/types/psArray.c
r15714 r26504 166 166 // drop an item from the array and free it 167 167 bool psArrayRemoveData(psArray* array, 168 constpsPtr data)168 psPtr data) 169 169 { 170 170 PS_ASSERT_ARRAY_NON_NULL(array, false); -
branches/eam_branches/20091201/psLib/src/types/psArray.h
r19056 r26504 186 186 bool psArrayRemoveData( 187 187 psArray* array, ///< array to operate on 188 const psPtr data///< the data pointer to remove from psArray188 psPtr data ///< the data pointer to remove from psArray 189 189 ); 190 190
Note:
See TracChangeset
for help on using the changeset viewer.
