On Wed, Mar 8, 2017 at 2:01 AM, Seth Arnold <email address hidden>
wrote:
> Is the bool getting the
> correct initial value due to a 'memset 0' when the struct is
> initialized? Or does this also need an explicit initializer?
>
Hi,
as always in libvirt things are a bit more abstracted.
After a trip through somewhat object oriented code in C (which I don't want
to bother you) I can confirm that eventually is is a calloc that gets the
structs memory (src/util/viralloc.c:560).
Also an indicator - the other struct vars have no initiaizers either.
So I think it does not need an explicit initializer.
On Wed, Mar 8, 2017 at 2:01 AM, Seth Arnold <email address hidden>
wrote:
> Is the bool getting the
> correct initial value due to a 'memset 0' when the struct is
> initialized? Or does this also need an explicit initializer?
>
Hi, viralloc. c:560).
as always in libvirt things are a bit more abstracted.
After a trip through somewhat object oriented code in C (which I don't want
to bother you) I can confirm that eventually is is a calloc that gets the
structs memory (src/util/
Also an indicator - the other struct vars have no initiaizers either.
So I think it does not need an explicit initializer.