Add 'Bits2Bytes' to SDK

Converts bitnum to bytenum.
This commit is contained in:
Kawe Mazidjatari 2023-04-30 12:15:03 +02:00
parent 0f660aee8b
commit 6dce43616b

View File

@ -210,6 +210,7 @@ inline int CalcNumIntsForBits( int numBits ) { return (numBits + (BITS_PER_INT-1
#endif
#define BitVec_Int( bitNum ) ( (bitNum) >> LOG2_BITS_PER_INT )
#define Bits2Bytes(b) ((b+7)>>3)
//-----------------------------------------------------------------------------
// template CBitVecT