mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[serialize] One more attribute
This commit is contained in:
1 parent
15048e50ec
commit
e1715056fc
1 file changed
+1
@@ -605,6 +605,7 @@ struct hb_serialize_context_t
|
||||
}
|
||||
|
||||
template <typename Type>
|
||||
HB_NODISCARD __attribute__((malloc))
|
||||
Type *allocate_size (size_t size, bool clear = true)
|
||||
{
|
||||
if (unlikely (in_error ())) return nullptr;
|
||||
|
||||
Reference in new issue
Block a user