More hb_memset

This commit is contained in:
Behdad Esfahbod 2022-11-22 12:56:05 -07:00
parent 59c45f6deb
commit 58a696d80e
3 changed files with 5 additions and 5 deletions

View File

@ -225,7 +225,7 @@ struct Coverage
static constexpr bool is_sorted_iterator = true;
iter_t (const Coverage &c_ = Null (Coverage))
{
memset (this, 0, sizeof (*this));
hb_memset (this, 0, sizeof (*this));
format = c_.u.format;
switch (format)
{

View File

@ -36,8 +36,8 @@ alphtype unsigned char;
write data;
action clear_item {
memset (&info, 0, sizeof (info));
memset (&pos , 0, sizeof (pos ));
hb_memset (&info, 0, sizeof (info));
hb_memset (&pos , 0, sizeof (pos ));
}
action add_item {

View File

@ -36,8 +36,8 @@ alphtype unsigned char;
write data;
action clear_item {
memset (&info, 0, sizeof (info));
memset (&pos , 0, sizeof (pos ));
hb_memset (&info, 0, sizeof (info));
hb_memset (&pos , 0, sizeof (pos ));
}
action add_item {