X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCbitv.h;fp=src%2FSDCCbitv.h;h=c6115cac33111d0e3b53d3bc029b79467cf2dd4d;hb=29779804200986ce903b5086441b49265a122dc5;hp=78f120eb88275f98d064c855f05f531f2aad7a02;hpb=b4d69dfd516f175255aa87b18b59dcf309d98b46;p=fw%2Fsdcc diff --git a/src/SDCCbitv.h b/src/SDCCbitv.h index 78f120eb..c6115cac 100644 --- a/src/SDCCbitv.h +++ b/src/SDCCbitv.h @@ -30,31 +30,32 @@ /* bitvector */ typedef struct bitVect -{ - int size ; + { + int size; int bSize; - unsigned char *vect ; -} bitVect ; + unsigned char *vect; + } +bitVect; -extern int bitVectDefault ; +extern int bitVectDefault; /*-----------------------------------------------------------------*/ -/* Forward definition for functions */ +/* Forward definition for functions */ /*-----------------------------------------------------------------*/ /* bitvector related functions */ -bitVect *newBitVect (int); -bitVect *bitVectResize (bitVect *, int ); -bitVect *bitVectSetBit (bitVect *,int ); -void bitVectUnSetBit (bitVect *,int); -int bitVectBitValue (bitVect *,int); -bitVect *bitVectUnion (bitVect *,bitVect *); -bitVect *bitVectIntersect (bitVect *,bitVect *); -int bitVectBitsInCommon ( bitVect *, bitVect * ); -bitVect *bitVectCplAnd ( bitVect *, bitVect *); -int bitVectEqual (bitVect *,bitVect *); -bitVect *bitVectCopy (bitVect *); -int bitVectIsZero (bitVect *); -int bitVectnBitsOn(bitVect *); -int bitVectFirstBit (bitVect *); -void bitVectDebugOn (bitVect *, FILE *); +bitVect *newBitVect (int); +bitVect *bitVectResize (bitVect *, int); +bitVect *bitVectSetBit (bitVect *, int); +void bitVectUnSetBit (bitVect *, int); +int bitVectBitValue (bitVect *, int); +bitVect *bitVectUnion (bitVect *, bitVect *); +bitVect *bitVectIntersect (bitVect *, bitVect *); +int bitVectBitsInCommon (bitVect *, bitVect *); +bitVect *bitVectCplAnd (bitVect *, bitVect *); +int bitVectEqual (bitVect *, bitVect *); +bitVect *bitVectCopy (bitVect *); +int bitVectIsZero (bitVect *); +int bitVectnBitsOn (bitVect *); +int bitVectFirstBit (bitVect *); +void bitVectDebugOn (bitVect *, FILE *); #endif