| 105 | } |
| 106 | |
| 107 | static inline bitstr_t |
| 108 | _bit_make_mask(int _start, int _stop) |
| 109 | { |
| 110 | return ((_BITSTR_MASK << _bit_offset(_start)) & |
| 111 | (_BITSTR_MASK >> (_BITSTR_BITS - _bit_offset(_stop) - 1))); |
| 112 | } |
| 113 | |
| 114 | /*----------------------------- Public Interface -----------------------------*/ |
| 115 | /* Number of bytes allocated for a bit string of nbits bits */ |
no test coverage detected