More hb_memset

This commit is contained in:
Behdad Esfahbod committed 2022-11-22 12:56:05 -07:00
1 parent 59c45f6deb
commit 58a696d80e
3 files changed
+5 -5

No files matched your search

+1 -1
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)
{
+2 -2
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 {
+2 -2
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 {