sc_bool sc_iterator_compare_type(sc_type el_type, sc_type it_type) { if ((it_type & sc_flags_remove(el_type)) == it_type) return SC_TRUE; return SC_FALSE; }
void sc_element_set_type(sc_element *element, sc_type type) { g_assert(element != 0); element->flags.type = sc_flags_remove(type); }