summaryrefslogtreecommitdiffstats
path: root/thirdparty/harfbuzz/src/hb-bimap.hh
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-05-23 13:18:11 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-05-23 13:18:11 +0300
commit797ccd3ef83d5f20096f14d25334ae8207d8ad20 (patch)
tree6bc49b72a4f00214de081fad6509a73ff35cf6ef /thirdparty/harfbuzz/src/hb-bimap.hh
parent3568b3deeaf3fbbf9e728ff25c7d0349075f9f1a (diff)
downloadredot-engine-797ccd3ef83d5f20096f14d25334ae8207d8ad20.tar.gz
HarfBuzz: Update to version 4.3.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-bimap.hh')
-rw-r--r--thirdparty/harfbuzz/src/hb-bimap.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/harfbuzz/src/hb-bimap.hh b/thirdparty/harfbuzz/src/hb-bimap.hh
index a9e1278de7..5b313bf59c 100644
--- a/thirdparty/harfbuzz/src/hb-bimap.hh
+++ b/thirdparty/harfbuzz/src/hb-bimap.hh
@@ -39,6 +39,12 @@ struct hb_bimap_t
back_map.reset ();
}
+ void resize (unsigned pop)
+ {
+ forw_map.resize (pop);
+ back_map.resize (pop);
+ }
+
bool in_error () const { return forw_map.in_error () || back_map.in_error (); }
void set (hb_codepoint_t lhs, hb_codepoint_t rhs)