mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-26 01:11:25 +01:00
[array] Add operator *
This commit is contained in:
1 parent
68d4a5eee0
commit
94e72cf1c9
1 file changed
+2
@@ -65,6 +65,8 @@ struct hb_array_t
|
||||
|
||||
Type * operator & (void) const { return arrayZ; }
|
||||
|
||||
Type & operator * (void) { return (this->operator [])[0]; }
|
||||
|
||||
hb_array_t<Type> & operator += (unsigned int count)
|
||||
{
|
||||
if (unlikely (count > len))
|
||||
|
||||
Reference in new issue
Block a user