More hb_memset
This commit is contained in:
parent
59c45f6deb
commit
58a696d80e
|
@ -225,7 +225,7 @@ struct Coverage
|
||||||
static constexpr bool is_sorted_iterator = true;
|
static constexpr bool is_sorted_iterator = true;
|
||||||
iter_t (const Coverage &c_ = Null (Coverage))
|
iter_t (const Coverage &c_ = Null (Coverage))
|
||||||
{
|
{
|
||||||
memset (this, 0, sizeof (*this));
|
hb_memset (this, 0, sizeof (*this));
|
||||||
format = c_.u.format;
|
format = c_.u.format;
|
||||||
switch (format)
|
switch (format)
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,8 +36,8 @@ alphtype unsigned char;
|
||||||
write data;
|
write data;
|
||||||
|
|
||||||
action clear_item {
|
action clear_item {
|
||||||
memset (&info, 0, sizeof (info));
|
hb_memset (&info, 0, sizeof (info));
|
||||||
memset (&pos , 0, sizeof (pos ));
|
hb_memset (&pos , 0, sizeof (pos ));
|
||||||
}
|
}
|
||||||
|
|
||||||
action add_item {
|
action add_item {
|
||||||
|
|
|
@ -36,8 +36,8 @@ alphtype unsigned char;
|
||||||
write data;
|
write data;
|
||||||
|
|
||||||
action clear_item {
|
action clear_item {
|
||||||
memset (&info, 0, sizeof (info));
|
hb_memset (&info, 0, sizeof (info));
|
||||||
memset (&pos , 0, sizeof (pos ));
|
hb_memset (&pos , 0, sizeof (pos ));
|
||||||
}
|
}
|
||||||
|
|
||||||
action add_item {
|
action add_item {
|
||||||
|
|
Loading…
Reference in New Issue