Prototypes | |
static UINT8 | hash_elem (const void *x) |
static int | cmp_elem (const void *x, const void *y) |
LALBitset * | XLALBitsetCreate (void) |
Create a bitset. More... | |
void | XLALBitsetDestroy (LALBitset *bs) |
Destroy a bitset and its elements. More... | |
int | XLALBitsetClear (LALBitset *bs) |
Clear a bitset. More... | |
int | XLALBitsetSet (LALBitset *bs, const UINT8 idx, const BOOLEAN is_set) |
Set/unset a bit in the bitset. More... | |
int | XLALBitsetGet (const LALBitset *bs, const UINT8 idx, BOOLEAN *is_set) |
Get whether a bit in the bitset is set. More... | |
Go to the source code of this file.
Data Structures | |
struct | LALBitset |
Arbitrary-size bitset. More... | |
struct | elem |
Macros | |
#define | BITS_PER_ELEM (sizeof(UINT8) * CHAR_BIT) |
#define BITS_PER_ELEM (sizeof(UINT8) * CHAR_BIT) |
Definition at line 25 of file LALBitset.c.
|
static |
Definition at line 36 of file LALBitset.c.
|
static |
Definition at line 44 of file LALBitset.c.