| 11 | } |
| 12 | |
| 13 | bool Set_Contains(set *s, SIValue v) { |
| 14 | unsigned long long const hash = SIValue_HashCode(v); |
| 15 | return (raxFind(s, (unsigned char *)&hash, sizeof(hash)) != raxNotFound); |
| 16 | } |
| 17 | |
| 18 | /* Adds v to set. */ |
| 19 | bool Set_Add(set *s, SIValue v) { |