mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
[set] Add page_t::set_range()
This commit is contained in:
1 parent
cb273fd17c
commit
0dcd9b15d9
1 file changed
+2
-1
+2
-1
@@ -94,7 +94,6 @@ struct hb_set_t
|
||||
*lb |= ((mask (b) << 1) - 1);
|
||||
}
|
||||
}
|
||||
|
||||
void del_range (hb_codepoint_t a, hb_codepoint_t b)
|
||||
{
|
||||
elt_t *la = &elt (a);
|
||||
@@ -111,6 +110,8 @@ struct hb_set_t
|
||||
*lb &= ~((mask (b) << 1) - 1);
|
||||
}
|
||||
}
|
||||
void set_range (hb_codepoint_t a, hb_codepoint_t b, bool v)
|
||||
{ if (v) add_range (a, b); else del_range (a, b); }
|
||||
|
||||
bool is_equal (const page_t &other) const
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user