Changeset 1073 for trunk/psLib/src/collections/psBitSet.c
- Timestamp:
- Jun 23, 2004, 1:00:17 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psBitSet.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psBitSet.c
r1041 r1073 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-06- 15 02:45:43$12 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-06-23 23:00:15 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 55 55 /* FUNCTION IMPLEMENTATION - LOCAL */ 56 56 /*****************************************************************************/ 57 static void bitSetFree(psBitSet *restrict inBitSet); 58 57 59 58 60 /** Private function to create a mask. … … 88 90 numBytes = ceil(n/8.0); 89 91 newObj = psAlloc(sizeof(psBitSet)); 92 p_psMemSetDeallocator(newObj,(psFreeFcn)bitSetFree); 90 93 newObj->n = numBytes; 91 94 … … 98 101 } 99 102 100 void psBitSetFree(psBitSet *restrict inBitSet)103 static void bitSetFree(psBitSet *restrict inBitSet) 101 104 { 102 105 if(inBitSet == NULL) { … … 105 108 } 106 109 psFree(inBitSet->bits); 107 psFree(inBitSet);108 110 } 109 111
Note:
See TracChangeset
for help on using the changeset viewer.
