Re: [PATCH v2 11/11] interface: Alter virInterfaceObjListAssignDef @def param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 26, 2017 at 07:59:10 -0400, John Ferlan wrote:
> Rather than pass by value, let's pass by reference since the object ends
> up "owning" the XML definition, let's make that ownership a bit more real.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/conf/virinterfaceobj.c | 12 +++++++-----
>  src/conf/virinterfaceobj.h |  2 +-
>  src/test/test_driver.c     |  5 ++---
>  3 files changed, 10 insertions(+), 9 deletions(-)

As said in the previous series. This is introducing a lot of complexity
tue to the double pointers and really is not very helpful in making the
code understandable.

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux