Changeset 7631
- Timestamp:
- Jun 22, 2006, 10:04:13 AM (20 years ago)
- Location:
- trunk/psModules/src/objects
- Files:
-
- 2 edited
-
pmSource.c (modified) (2 diffs)
-
pmSource.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.c
r7604 r7631 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2006-06-2 1 03:21:16$8 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-06-22 20:04:13 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 37 37 psFree(tmp->blends); 38 38 psTrace(__func__, 4, "---- %s() end ----\n", __func__); 39 } 40 41 void pmSourceFreePixels(pmSource *source) 42 { 43 44 if (!source) 45 return; 46 47 psFree (source->pixels); 48 psFree (source->weight); 49 psFree (source->mask); 50 51 source->pixels = NULL; 52 source->weight = NULL; 53 source->mask = NULL; 54 return; 39 55 } 40 56 -
trunk/psModules/src/objects/pmSource.h
r7311 r7631 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-06- 03 01:02:08$5 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-06-22 20:04:13 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 115 115 pmSource *pmSourceAlloc(); 116 116 117 // free just the pixels for a source, keeping derived data 118 void pmSourceFreePixels(pmSource *source); 119 117 120 bool pmIsSource(const psPtr ptr); 118 121
Note:
See TracChangeset
for help on using the changeset viewer.
