mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[ot-map] Micro-optimize for size
This commit is contained in:
1 parent
93f3a9dbc6
commit
4b8d8fbee4
2 files changed
+6
-3
No files matched your search
+3
-3
@@ -92,11 +92,11 @@ struct hb_ot_map_t
|
||||
{
|
||||
hb_memset (this, 0, sizeof (*this));
|
||||
|
||||
features.init ();
|
||||
features.init0 ();
|
||||
for (unsigned int table_index = 0; table_index < 2; table_index++)
|
||||
{
|
||||
lookups[table_index].init ();
|
||||
stages[table_index].init ();
|
||||
lookups[table_index].init0 ();
|
||||
stages[table_index].init0 ();
|
||||
}
|
||||
}
|
||||
void fini ()
|
||||
|
||||
@@ -84,6 +84,9 @@ struct hb_vector_t
|
||||
allocated = length = 0;
|
||||
arrayZ = nullptr;
|
||||
}
|
||||
void init0 ()
|
||||
{
|
||||
}
|
||||
|
||||
void fini ()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user