diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2009-04-08 08:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2009-04-08 08:01:00 -0700 |
commit | df6fdd1dffd8ce83dfc4a7868ebdd25241f8f24b (patch) | |
tree | d320da2793b6d667ec661827c6efc0a9dd86504d /src/misc | |
parent | e3e2918eb8a4750b9ce51de821ea6b58941fe65c (diff) | |
download | abc-df6fdd1dffd8ce83dfc4a7868ebdd25241f8f24b.tar.gz abc-df6fdd1dffd8ce83dfc4a7868ebdd25241f8f24b.tar.bz2 abc-df6fdd1dffd8ce83dfc4a7868ebdd25241f8f24b.zip |
Version abc90408
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/hash/hashFlt.h | 4 | ||||
-rw-r--r-- | src/misc/hash/hashInt.h | 4 | ||||
-rw-r--r-- | src/misc/hash/hashPtr.h | 4 | ||||
-rw-r--r-- | src/misc/vec/vecAtt.h | 6 | ||||
-rw-r--r-- | src/misc/vec/vecPtr.h | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/src/misc/hash/hashFlt.h b/src/misc/hash/hashFlt.h index 43b9dd7f..4b9951cb 100644 --- a/src/misc/hash/hashFlt.h +++ b/src/misc/hash/hashFlt.h @@ -309,7 +309,7 @@ static inline void Hash_FltFree( Hash_Flt_t *p ) { int bin; Hash_Flt_Entry_t *pEntry; - // ABC_FREE bins + // free bins for(bin = 0; bin < p->nBins; bin++) { pEntry = p->pArray[bin]; while(pEntry) { @@ -318,7 +318,7 @@ static inline void Hash_FltFree( Hash_Flt_t *p ) { } } - // ABC_FREE hash + // free hash ABC_FREE( p->pArray ); ABC_FREE( p ); } diff --git a/src/misc/hash/hashInt.h b/src/misc/hash/hashInt.h index 7993e562..f58a9fac 100644 --- a/src/misc/hash/hashInt.h +++ b/src/misc/hash/hashInt.h @@ -272,7 +272,7 @@ static inline void Hash_IntFree( Hash_Int_t *p ) { int bin; Hash_Int_Entry_t *pEntry, *pTemp; - // ABC_FREE bins + // free bins for(bin = 0; bin < p->nBins; bin++) { pEntry = p->pArray[bin]; while(pEntry) { @@ -282,7 +282,7 @@ static inline void Hash_IntFree( Hash_Int_t *p ) { } } - // ABC_FREE hash + // free hash ABC_FREE( p->pArray ); ABC_FREE( p ); } diff --git a/src/misc/hash/hashPtr.h b/src/misc/hash/hashPtr.h index 224e5c84..136250ee 100644 --- a/src/misc/hash/hashPtr.h +++ b/src/misc/hash/hashPtr.h @@ -310,7 +310,7 @@ static inline void Hash_PtrFree( Hash_Ptr_t *p ) { int bin; Hash_Ptr_Entry_t *pEntry; - // ABC_FREE bins + // free bins for(bin = 0; bin < p->nBins; bin++) { pEntry = p->pArray[bin]; while(pEntry) { @@ -319,7 +319,7 @@ static inline void Hash_PtrFree( Hash_Ptr_t *p ) { } } - // ABC_FREE hash + // free hash ABC_FREE( p->pArray ); ABC_FREE( p ); } diff --git a/src/misc/vec/vecAtt.h b/src/misc/vec/vecAtt.h index 9129321c..983b7c1c 100644 --- a/src/misc/vec/vecAtt.h +++ b/src/misc/vec/vecAtt.h @@ -124,7 +124,7 @@ static inline void * Vec_AttFree( Vec_Att_t * p, int fFreeMan ) void * pMan; if ( p == NULL ) return NULL; - // ABC_FREE the attributes of objects + // free the attributes of objects if ( p->pFuncFreeObj ) { int i; @@ -132,7 +132,7 @@ static inline void * Vec_AttFree( Vec_Att_t * p, int fFreeMan ) if ( p->pArrayPtr[i] ) p->pFuncFreeObj( p->pMan, p->pArrayPtr[i] ); } - // ABC_FREE the memory manager + // free the memory manager pMan = fFreeMan? NULL : p->pMan; if ( p->pMan && fFreeMan ) p->pFuncFreeMan( p->pMan ); @@ -154,7 +154,7 @@ static inline void * Vec_AttFree( Vec_Att_t * p, int fFreeMan ) ***********************************************************************/ static inline void Vec_AttClear( Vec_Att_t * p ) { - // ABC_FREE the attributes of objects + // free the attributes of objects if ( p->pFuncFreeObj ) { int i; diff --git a/src/misc/vec/vecPtr.h b/src/misc/vec/vecPtr.h index 6fc5109b..3f958b6f 100644 --- a/src/misc/vec/vecPtr.h +++ b/src/misc/vec/vecPtr.h @@ -785,7 +785,7 @@ static inline void Vec_PtrDoubleSimInfo( Vec_Ptr_t * vInfo ) vInfo->pArray = vInfoNew->pArray; vInfo->nSize *= 2; vInfo->nCap *= 2; - // ABC_FREE the old array + // free the old array vInfoNew->pArray = NULL; ABC_FREE( vInfoNew ); } @@ -815,7 +815,7 @@ static inline void Vec_PtrReallocSimInfo( Vec_Ptr_t * vInfo ) // replace the array ABC_FREE( vInfo->pArray ); vInfo->pArray = vInfoNew->pArray; - // ABC_FREE the old array + // free the old array vInfoNew->pArray = NULL; ABC_FREE( vInfoNew ); } |