Exemple #1
0
// return an array of integers *n_addr elements long
static SB_INLINE uint32_t *bitset_get_list(BitSet& bs, uint32_t *n_addr) {
    uint32_t *el = new uint32_t[bs.size()];
    bitset_get_list_here(bs, el);
    return el;
}
// returns list of labels *n_addr long.  el is pre-allocated
static SB_INLINE void labelset_get_list_here(LabelSet *ls, uint32_t *el) {
    return bitset_get_list_here(*(ls->set), el);
}