for (unsigned int i = 0; i < ELTS; i++)
elts[i] &= ~other->elts[i];
}
+ inline void symmetric_difference (const hb_set_t *other)
+ {
+ for (unsigned int i = 0; i < ELTS; i++)
+ elts[i] ^= other->elts[i];
+ }
inline hb_codepoint_t get_min (void) const
{
for (unsigned int i = 0; i < ELTS; i++)
set->subtract (other);
}
+void
+hb_set_symmetric_difference (hb_set_t *set,
+ hb_set_t *other)
+{
+ set->symmetric_difference (other);
+}
+
hb_codepoint_t
hb_set_min (hb_set_t *set)
{
hb_set_subtract (hb_set_t *set,
hb_set_t *other);
+void
+hb_set_symmetric_difference (hb_set_t *set,
+ hb_set_t *other);
+
+/* Undefined if set empty */
hb_codepoint_t
hb_set_min (hb_set_t *set);
+/* Undefined if set empty */
hb_codepoint_t
hb_set_max (hb_set_t *set);