Changeset 4392 for trunk/psLib/src/types
- Timestamp:
- Jun 24, 2005, 4:02:05 PM (21 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 8 edited
-
psArray.c (modified) (2 diffs)
-
psBitSet.c (modified) (2 diffs)
-
psHash.c (modified) (3 diffs)
-
psList.c (modified) (3 diffs)
-
psLookupTable.c (modified) (2 diffs)
-
psMetadata.c (modified) (4 diffs)
-
psMetadataConfig.c (modified) (2 diffs)
-
psPixels.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArray.c
r4367 r4392 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.3 1$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-06-2 3 03:50:29$11 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-06-25 02:02:04 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 55 55 // Create vector struct 56 56 psArr = (psArray* ) psAlloc(sizeof(psArray)); 57 psMemSetDeallocator(psArr, (psFreeF cn) arrayFree);57 psMemSetDeallocator(psArr, (psFreeFunc) arrayFree); 58 58 59 59 psArr->nalloc = nalloc; -
trunk/psLib/src/types/psBitSet.c
r4342 r4392 11 11 * @author Robert DeSonia, MHPCC 12 12 * 13 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06-2 2 02:05:41$13 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-25 02:02:05 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 80 80 numBytes = ceil(nalloc / 8.0); 81 81 newObj = psAlloc(sizeof(psBitSet)); 82 psMemSetDeallocator(newObj, (psFreeF cn) bitSetFree);82 psMemSetDeallocator(newObj, (psFreeFunc) bitSetFree); 83 83 newObj->n = numBytes; 84 84 -
trunk/psLib/src/types/psHash.c
r4352 r4392 12 12 * @author GLG, MHPCC 13 13 * 14 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-2 2 23:48:39$14 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-25 02:02:05 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 91 91 psHashBucket* bucket = psAlloc(sizeof(psHashBucket)); 92 92 93 psMemSetDeallocator(bucket, (psFreeF cn) hashBucketFree);93 psMemSetDeallocator(bucket, (psFreeFunc) hashBucketFree); 94 94 95 95 // Initialize the bucket. … … 142 142 psHash* table = psAlloc(sizeof(psHash)); 143 143 144 psMemSetDeallocator(table, (psFreeF cn) hashFree);144 psMemSetDeallocator(table, (psFreeFunc) hashFree); 145 145 146 146 // Allocate memory for the buckets. -
trunk/psLib/src/types/psList.c
r4367 r4392 6 6 * @author Robert Daniel DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-06-2 3 03:50:29$8 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-06-25 02:02:05 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 129 129 psList* list = psAlloc(sizeof(psList)); 130 130 131 psMemSetDeallocator(list, (psFreeF cn) listFree);131 psMemSetDeallocator(list, (psFreeFunc) listFree); 132 132 133 133 list->size = 0; … … 153 153 psListIterator* iter = psAlloc(sizeof(psListIterator)); 154 154 155 psMemSetDeallocator(iter, (psFreeF cn) listIteratorFree);155 psMemSetDeallocator(iter, (psFreeFunc) listIteratorFree); 156 156 157 157 // initialize the attributes -
trunk/psLib/src/types/psLookupTable.c
r4366 r4392 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-2 3 03:19:29$9 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-25 02:02:05 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 268 268 269 269 // Set deallocator 270 psMemSetDeallocator(outTable, (psFreeF cn)lookupTableFree);270 psMemSetDeallocator(outTable, (psFreeFunc)lookupTableFree); 271 271 272 272 // Allocate and set file name and format strings -
trunk/psLib/src/types/psMetadata.c
r4370 r4392 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.6 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-2 4 01:44:18$14 * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-25 02:02:05 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 186 186 187 187 // Set deallocator 188 psMemSetDeallocator(metadataItem, (psFreeF cn) metadataItemFree);188 psMemSetDeallocator(metadataItem, (psFreeFunc) metadataItemFree); 189 189 190 190 // Allocate and set metadata item comment … … 256 256 metadata = (psMetadata*) psAlloc(sizeof(psMetadata)); 257 257 // Set deallocator 258 psMemSetDeallocator(metadata, (psFreeF cn) metadataFree);258 psMemSetDeallocator(metadata, (psFreeFunc) metadataFree); 259 259 260 260 // Allocate metadata's internal containers … … 608 608 609 609 // Set deallocator 610 psMemSetDeallocator(newIter, (psFreeF cn) metadataIteratorFree);610 psMemSetDeallocator(newIter, (psFreeFunc) metadataIteratorFree); 611 611 612 612 if (regex == NULL) { -
trunk/psLib/src/types/psMetadataConfig.c
r4209 r4392 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-06- 10 18:09:12$12 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-06-25 02:02:05 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 358 358 359 359 // Set memory deallocator 360 psMemSetDeallocator(info,(psFreeF cn)parseLevelInfoFree);360 psMemSetDeallocator(info,(psFreeFunc)parseLevelInfoFree); 361 361 } 362 362 return info; -
trunk/psLib/src/types/psPixels.c
r4321 r4392 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-2 0 22:42:29$9 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-25 02:02:05 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 out->nalloc = size; 68 68 69 psMemSetDeallocator(out, (psFreeF cn)pixelsFree);69 psMemSetDeallocator(out, (psFreeFunc)pixelsFree); 70 70 71 71 return out;
Note:
See TracChangeset
for help on using the changeset viewer.
