commit | 3ca809e3623e59b9a99bc0b9e5d10b02238bba3c | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Aug 28 13:49:35 2019 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Aug 28 13:49:35 2019 -0700 |
tree | 9f66e1c390112c3cffb6fb472cdb5b6234a0ed6e | |
parent | 307bd6d79f11eb175f06c08c321947a447496291 [diff] [blame] |
Add ArrayOf::pop()
diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 511b8ae..c9e8307 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh
@@ -572,6 +572,8 @@ 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); }