---------------------------------------------------------------------------*/ * Allocate and return a new bit vector large enough to * hold the specified number of bits. * * Globals: * - BitVectorCount number of bit vectors allocated * * @param NumBits number of bits in new bit vector * * @return New bit vector. * @note Exceptions: none * @note History: Tue Oct 23 16:51:27 1990, DSJ, Cre
| 87 | * @note History: Tue Oct 23 16:51:27 1990, DSJ, Created. |
| 88 | */ |
| 89 | BIT_VECTOR NewBitVector(int NumBits) { |
| 90 | return ((BIT_VECTOR) Emalloc(sizeof(uinT32) * |
| 91 | WordsInVectorOfSize(NumBits))); |
| 92 | } /* NewBitVector */ |
no test coverage detected