mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
Add ArrayOf::pop()
This commit is contained in:
1 parent
307bd6d79f
commit
3ca809e362
1 file changed
+2
@@ -572,6 +572,8 @@ struct ArrayOf
|
||||
|
||||
explicit operator bool () const { return len; }
|
||||
|
||||
void pop () { len--; }
|
||||
|
||||
hb_array_t< Type> as_array () { return hb_array (arrayZ, len); }
|
||||
hb_array_t<const Type> as_array () const { return hb_array (arrayZ, len); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user