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

Peter Krempa pkrempa at redhat.com
Fri May 26 12:55:12 UTC 2017


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 at redhat.com>
> ---
>  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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170526/eb3772b5/attachment-0001.sig>


More information about the libvir-list mailing list