| parrotcode: compilers/imcc/sets.c | |
| Contents | Compilers |

compilers/imcc/sets.c

RT#48264

PARROT_MALLOC PARROT_CANNOT_RETURN_NULL Set *set_make(int length)PARROT_MALLOC PARROT_CANNOT_RETURN_NULL Set *set_make_full(int length)void set_free(NOTNULL(Set *s))void set_clear(NOTNULL(Set *s))PARROT_MALLOC PARROT_CANNOT_RETURN_NULL Set *set_copy(NOTNULL(Set *s))int set_equal(ARGIN(const Set *s1), ARGIN(const Set *s2))void set_add(NOTNULL(Set *s), int element)PARROT_WARN_UNUSED_RESULT PARROT_PURE_FUNCTION int set_first_zero(ARGIN(const Set *s))PARROT_WARN_UNUSED_RESULT PARROT_PURE_FUNCTION int set_contains(ARGIN(const Set *s), int element)PARROT_MALLOC PARROT_CANNOT_RETURN_NULL Set *set_union(ARGIN(const Set *s1), ARGIN(const Set *s2))PARROT_MALLOC PARROT_CANNOT_RETURN_NULL Set *set_intersec(ARGIN(const Set *s1), ARGIN(const Set *s2))void set_intersec_inplace(NOTNULL(Set *s1), ARGIN(const Set *s2))
|
|
|