1 | /* |
---|---|
2 | * mixed_equal.h |
3 | * |
4 | */ |
5 | |
6 | #ifndef CONTAINERS_MIXED_EQUAL_H_ |
7 | #define CONTAINERS_MIXED_EQUAL_H_ |
8 | |
9 | #include <roaring/containers/array.h> |
10 | #include <roaring/containers/bitset.h> |
11 | #include <roaring/containers/run.h> |
12 | |
13 | /** |
14 | * Return true if the two containers have the same content. |
15 | */ |
16 | bool array_container_equal_bitset(const array_container_t* container1, |
17 | const bitset_container_t* container2); |
18 | |
19 | /** |
20 | * Return true if the two containers have the same content. |
21 | */ |
22 | bool run_container_equals_array(const run_container_t* container1, |
23 | const array_container_t* container2); |
24 | /** |
25 | * Return true if the two containers have the same content. |
26 | */ |
27 | bool run_container_equals_bitset(const run_container_t* container1, |
28 | const bitset_container_t* container2); |
29 | |
30 | #endif /* CONTAINERS_MIXED_EQUAL_H_ */ |
31 |