Changeset 28013 for trunk/psModules/src/objects/pmSourceExtendedPars.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmSourceExtendedPars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
-
Property svn:mergeinfo
set to
/branches/eam_branches/psModules.20100506 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/psModules/src/objects/pmSourceExtendedPars.c
r27818 r28013 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.
