- Timestamp:
- May 19, 2010, 2:09:25 PM (16 years ago)
- Location:
- branches/czw_branch/20100427/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmSourceExtendedPars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100427/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/psModules.20100506 (added) merged: 27923-27924,27931,27948,28011 /branches/pap/psModules (added) merged: 28003,28005 /trunk/psModules merged: 28007,28013
- Property svn:mergeinfo changed
-
branches/czw_branch/20100427/psModules/src/objects/pmSourceExtendedPars.c
r28017 r28030 65 65 } 66 66 67 // pmSourceRadialApertures carries the raw radial flux information, including angular bins 68 static void pmSourceRadialAperturesFree(pmSourceRadialApertures *radial) 69 { 70 if (!radial) return; 71 psFree(radial->flux); 72 psFree(radial->fluxErr); 73 psFree(radial->fill); 74 } 75 76 pmSourceRadialApertures *pmSourceRadialAperturesAlloc() 77 { 78 pmSourceRadialApertures *radial = (pmSourceRadialApertures *)psAlloc(sizeof(pmSourceRadialApertures)); 79 psMemSetDeallocator(radial, (psFreeFunc) pmSourceRadialAperturesFree); 80 81 radial->flux = NULL; 82 radial->fluxErr = NULL; 83 radial->fill = NULL; 84 return radial; 85 } 86 87 bool psMemCheckSourceRadialApertures(psPtr ptr) 88 { 89 PS_ASSERT_PTR(ptr, false); 90 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceRadialAperturesFree); 91 } 92 67 93 // pmSourceEllipticalFlux carries the elliptical renormalized radial flux info 68 94 static void pmSourceEllipticalFluxFree(pmSourceEllipticalFlux *flux)
Note:
See TracChangeset
for help on using the changeset viewer.
