Changeset 32200
- Timestamp:
- Aug 29, 2011, 2:50:41 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110710/psModules/src/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/psModules/src/objects/pmPeaks.c
r31451 r32200 137 137 *****************************************************************************/ 138 138 static void peakFree(pmPeak *tmp) 139 {} // 139 { 140 if (!tmp) return; 141 psFree (tmp->saddlePoints); 142 return; 143 } 140 144 141 145 pmPeak *pmPeakAlloc(psS32 x, … … 162 166 tmp->type = type; 163 167 tmp->footprint = NULL; 168 tmp->saddlePoints = NULL; 164 169 165 170 psMemSetDeallocator(tmp, (psFreeFunc) peakFree); -
branches/eam_branches/ipp-20110710/psModules/src/objects/pmPeaks.h
r31451 r32200 72 72 pmPeakType type; ///< Description of peak. 73 73 pmFootprint *footprint; ///< reference to containing footprint 74 psArray *saddlePoints; ///< set of saddle points between this peak and near neighbors 74 75 } 75 76 pmPeak;
Note:
See TracChangeset
for help on using the changeset viewer.
