You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
HarfBuzz: Update to version 4.3.0
This commit is contained in:
17
thirdparty/harfbuzz/src/hb-serialize.hh
vendored
17
thirdparty/harfbuzz/src/hb-serialize.hh
vendored
@@ -74,7 +74,7 @@ struct hb_serialize_context_t
|
||||
}
|
||||
|
||||
object_t () = default;
|
||||
|
||||
|
||||
#ifdef HB_EXPERIMENTAL_API
|
||||
object_t (const hb_object_t &o)
|
||||
{
|
||||
@@ -91,6 +91,15 @@ struct hb_serialize_context_t
|
||||
}
|
||||
#endif
|
||||
|
||||
friend void swap (object_t& a, object_t& b)
|
||||
{
|
||||
hb_swap (a.head, b.head);
|
||||
hb_swap (a.tail, b.tail);
|
||||
hb_swap (a.next, b.next);
|
||||
hb_swap (a.real_links, b.real_links);
|
||||
hb_swap (a.virtual_links, b.virtual_links);
|
||||
}
|
||||
|
||||
bool operator == (const object_t &o) const
|
||||
{
|
||||
// Virtual links aren't considered for equality since they don't affect the functionality
|
||||
@@ -111,10 +120,10 @@ struct hb_serialize_context_t
|
||||
struct link_t
|
||||
{
|
||||
unsigned width: 3;
|
||||
bool is_signed: 1;
|
||||
unsigned is_signed: 1;
|
||||
unsigned whence: 2;
|
||||
unsigned position: 28;
|
||||
unsigned bias;
|
||||
unsigned bias : 26;
|
||||
unsigned position;
|
||||
objidx_t objidx;
|
||||
|
||||
link_t () = default;
|
||||
|
||||
Reference in New Issue
Block a user