parrotcode: compilers/imcc/sets.c | |
Contents | Compilers |
compilers/imcc/sets.c
TODO
PARROT_MALLOC Set *set_make(int length)
PARROT_MALLOC Set *set_make_full(int length)
void set_free(NOTNULL(Set *s))
void set_clear(NOTNULL(Set *s))
PARROT_MALLOC Set *set_copy(NOTNULL(Set *s))
int set_equal(NOTNULL(const Set *s1), NOTNULL(const Set *s2))
void set_add(NOTNULL(Set *s), int element)
PARROT_WARN_UNUSED_RESULT PARROT_PURE_FUNCTION int set_first_zero(NOTNULL(const Set *s))
PARROT_WARN_UNUSED_RESULT PARROT_PURE_FUNCTION int set_contains(NOTNULL(const Set *s), int element)
PARROT_MALLOC Set *set_union(NOTNULL(const Set *s1), NOTNULL(const Set *s2))
PARROT_MALLOC Set *set_intersec(NOTNULL(const Set *s1), NOTNULL(const Set *s2))
void set_intersec_inplace(NOTNULL(Set *s1), NOTNULL(const Set *s2))
|