Changeset 21437
- Timestamp:
- Feb 10, 2009, 11:07:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/magic/remove/src/streaksastrom.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/magic/remove/src/streaksastrom.c
r21156 r21437 1 1 #include "streaksremove.h" 2 3 static void freeAstrometry(strkAstrom *astrom) 4 { 5 if (!astrom) { 6 return; 7 } 8 psFree(astrom->pt); 9 } 2 10 3 11 // Initialize the astrometry object for current cell … … 7 15 if (!astrom) { 8 16 astrom = psAlloc(sizeof(strkAstrom)); 17 psMemSetDeallocator(astrom, (psFreeFunc) freeAstrometry); 9 18 astrom->pt = pmAstromObjAlloc(); 10 19 } … … 92 101 } 93 102 103 104 94 105 void 95 106 chipToCell(double *xCell, double *yCell, strkAstrom *astrom, double xChip, double yChip)
Note:
See TracChangeset
for help on using the changeset viewer.
